[webkit-reviews] review granted: [Bug 93423] [chromium] Only use public Platform API in NonCompositedContentHost : [Attachment 157084] Patch
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Aug 8 11:07:59 PDT 2012
Adrienne Walker <enne at google.com> has granted James Robinson
<jamesr at chromium.org>'s request for review:
Bug 93423: [chromium] Only use public Platform API in NonCompositedContentHost
https://bugs.webkit.org/show_bug.cgi?id=93423
Attachment 157084: Patch
https://bugs.webkit.org/attachment.cgi?id=157084&action=review
------- Additional Comments from Adrienne Walker <enne at google.com>
View in context: https://bugs.webkit.org/attachment.cgi?id=157084&action=review
R=me, with one comment nit.
> Source/WebCore/ChangeLog:10
> + This renames the "NonCompositedContentHost" flag to "useLCDText",
which is the primary purpose of the flag. We
> + also use this flag to control whether we have border texels or not
on the "root" layer, but I can't think of a
> + clean name that encapsulates both behaviors.
That's a way better name. If you know you're using LCD text then you also know
that the layer can't have a transform that's anything other than an integer
translation, so therefore doesn't need border texels. Therefore, I'd argue
that it encapsulates both.
> Source/Platform/chromium/public/WebContentLayer.h:70
> + // Set to draw a system-defined checkerboard if the compositor would
otherwise draw a tile in this layer
> + // and the actual contents are unavailable. If false, the compositor
will just draw nothing for these tiles.
> + // Defaults to false.
If false, I think we draw the background color of that layer?
More information about the webkit-reviews
mailing list