[webkit-reviews] review granted: [Bug 67883] Move root layer creation semantics to the outside of chromium compositor : [Attachment 107429] Patch
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Sep 14 18:00:13 PDT 2011
James Robinson <jamesr at chromium.org> has granted Antoine Labour
<piman at chromium.org>'s request for review:
Bug 67883: Move root layer creation semantics to the outside of chromium
compositor
https://bugs.webkit.org/show_bug.cgi?id=67883
Attachment 107429: Patch
https://bugs.webkit.org/attachment.cgi?id=107429&action=review
------- Additional Comments from James Robinson <jamesr at chromium.org>
View in context: https://bugs.webkit.org/attachment.cgi?id=107429&action=review
R=me with a few nits.
> Source/WebCore/platform/graphics/chromium/NonCompositedContentHost.h:42
> +class LayerChromium;
I don't think you need this fwd decl
> Source/WebCore/platform/graphics/chromium/NonCompositedContentHost.h:72
> + WebCore::IntSize m_viewportSize;
Just IntSize, we're in the WebCore namespace here.
> Source/WebCore/platform/graphics/chromium/cc/CCLayerTreeHost.cpp:411
> + for (int surfaceIndex = m_updateList.size() - 1; surfaceIndex >= 0 ;
--surfaceIndex) {
nit: I don't think iteration order matters here, so I'd just loop through in
the normal order [0, m_updateList.size()). Makes it a bit easier to spot check
that this is supposed to hit every entry in the list.
More information about the webkit-reviews
mailing list