RESOLVED FIXED 60977
[chromium] Always set layerRenderer, even on non-drawn-layers
https://bugs.webkit.org/show_bug.cgi?id=60977
Summary [chromium] Always set layerRenderer, even on non-drawn-layers
Nat Duca
Reported 2011-05-17 12:12:08 PDT
[chromium] Always set layerRenderer, even on non-drawn-layers
Attachments
Patch (2.68 KB, patch)
2011-05-17 12:16 PDT, Nat Duca
no flags
Add some comments for posterity. (3.30 KB, patch)
2011-05-17 13:00 PDT, Nat Duca
no flags
Nat Duca
Comment 1 2011-05-17 12:16:28 PDT
James Robinson
Comment 2 2011-05-17 12:38:54 PDT
Comment on attachment 93805 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=93805&action=review Change looks good. Is there any way to test this (even manually)? > Source/WebCore/platform/graphics/chromium/LayerRendererChromium.cpp:353 > + renderSurfaceLayer->setLayerRenderer(this); I think this is redundant - have you checked if this helps? drawLayers() skips render surfaces with an empty layer list (see http://trac.webkit.org/browser/trunk/Source/WebCore/platform/graphics/chromium/LayerRendererChromium.cpp#L448). I suppose it doesn't hurt to set it regardless.
Nat Duca
Comment 3 2011-05-17 13:00:52 PDT
Created attachment 93810 [details] Add some comments for posterity.
WebKit Commit Bot
Comment 4 2011-05-17 15:34:33 PDT
Comment on attachment 93810 [details] Add some comments for posterity. Clearing flags on attachment: 93810 Committed r86713: <http://trac.webkit.org/changeset/86713>
WebKit Commit Bot
Comment 5 2011-05-17 15:34:37 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.