Bug 93423

Summary: [chromium] Only use public Platform API in NonCompositedContentHost
Product: WebKit Reporter: James Robinson <jamesr>
Component: Layout and RenderingAssignee: James Robinson <jamesr>
Status: RESOLVED FIXED    
Severity: Normal CC: abarth, cc-bugs, dglazkov, enne, fishd, piman, shawnsingh, tkent+wkapi, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch enne: review+, enne: commit-queue-

James Robinson
Reported 2012-08-07 18:43:34 PDT
[chromium] Only use public Platform API in NonCompositedContentHost
Attachments
Patch (17.15 KB, patch)
2012-08-07 19:10 PDT, James Robinson
enne: review+
enne: commit-queue-
James Robinson
Comment 1 2012-08-07 19:10:32 PDT
WebKit Review Bot
Comment 2 2012-08-07 19:12:48 PDT
Please wait for approval from abarth@webkit.org, dglazkov@chromium.org, fishd@chromium.org, jamesr@chromium.org or tkent@chromium.org before submitting, as this patch contains changes to the Chromium public API. See also https://trac.webkit.org/wiki/ChromiumWebKitAPI.
Adrienne Walker
Comment 3 2012-08-08 11:08:24 PDT
Comment on attachment 157084 [details] Patch 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?
James Robinson
Comment 4 2012-08-08 11:15:16 PDT
(In reply to comment #3) > > > 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? Ah yes, I was mistaken.
James Robinson
Comment 5 2012-08-08 14:17:56 PDT
Note You need to log in before you can comment on or make changes to this bug.