LayerChromium::updateCompositorResources is a commit-time function. Therefore, it should use a GraphicsContext3D that is passed explicitly in as a function arg, rather than one that it implicitly has access to via LayerRendererChromium.
Created attachment 104532 [details] Patch
Comment on attachment 104532 [details] Patch Cool
(In reply to comment #2) > (From update of attachment 104532 [details]) > Cool Hrm. I though tthis was going to be sufficient, but in looking at this further, it looks like I might need to s/GraphicsContext3D/LayerRendererChromium/ in this patch so that I can get the skia context from it from it for the accelerated painting update. Alternatively, maybe this isn't patch isn't so big that I can just wrap this fix into bug 66433.
It should be fine to do this and leave the layerRenderer()->context() getter alone, so the old codepaths work, and then later go and remove the getters.
(In reply to comment #4) > It should be fine to do this and leave the layerRenderer()->context() getter alone, so the old codepaths work, and then later go and remove the getters. Ok, I think I can make it work and will just land it as-is.
Committed r93438: <http://trac.webkit.org/changeset/93438>