To make it possible to memcpy a DisplayItemList, DisplayItems should not be virtual as these are not valid across processes. To fix this, it would be better if cc::DisplayItem behaved like SkLiteDL. Instead of treating each object in the list as a virtual object, it should instead have a type enum and use static casting to some final class.
Comment 1 by bugdroid1@chromium.org
, Dec 7 2016