Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Issue 778883002: Remove all but one of the PaintLayerFlags. (Closed)

Created:
6 years ago by ojan
Modified:
6 years ago
Reviewers:
eseidel
CC:
abarth-chromium, esprehn, mojo-reviews_chromium.org
Base URL:
git@github.com:domokit/mojo.git@master
Project:
mojo
Visibility:
Public.

Description

Remove all but one of the PaintLayerFlags. Only PaintLayerPaintingOverlayScrollbars is actually ever set to a different value in different codepaths. -PaintLayerHaveTransparency can just be replaced with isTransparent() calls. -PaintLayerPaintingCompositingScrollingPhase is unused. -PaintLayerPaintingCompositingAllPhases is always set, which means that the other three compositing ones are also always set. The third bullet more clearly falls out when you see that the only caller of paintLayerContents is paintLayerContentsAndReflection, which sets PaintLayerPaintingCompositingAllPhases on the paint flags. Get rid of paintLayerContentsAndReflection since we no longer have reflections. The rest of the changes are all just propagating the now always false or true booleans in paintLayerContents. R=eseidel@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/1d91759c42b2a0b511c08faa687686956e5c320f

Patch Set 1 #

Total comments: 15
Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -81 lines) Patch
M sky/engine/core/rendering/LayerPaintingInfo.h View 1 chunk +2 lines, -9 lines 2 comments Download
M sky/engine/core/rendering/RenderLayer.h View 3 chunks +3 lines, -10 lines 0 comments Download
M sky/engine/core/rendering/RenderLayer.cpp View 10 chunks +24 lines, -62 lines 13 comments Download

Messages

Total messages: 7 (3 generated)
ojan
https://codereview.chromium.org/778883002/diff/1/sky/engine/core/rendering/LayerPaintingInfo.h File sky/engine/core/rendering/LayerPaintingInfo.h (right): https://codereview.chromium.org/778883002/diff/1/sky/engine/core/rendering/LayerPaintingInfo.h#newcode55 sky/engine/core/rendering/LayerPaintingInfo.h:55: // FIXME(sky): Get rid of this bitmasking and just ...
6 years ago (2014-12-04 03:47:14 UTC) #1
eseidel
lgtm
6 years ago (2014-12-04 18:35:10 UTC) #4
commit-bot: I haz the power
Commit queue rejected this change because it did not recognize the base URL. Please commit ...
6 years ago (2014-12-04 18:38:51 UTC) #6
ojan
6 years ago (2014-12-04 20:12:10 UTC) #7
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
1d91759c42b2a0b511c08faa687686956e5c320f.

Powered by Google App Engine
This is Rietveld 408576698