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

Issue 342203004: Get rid of compositing and squashing helper methods on RenderLayerModelObject. (Closed)

Created:
6 years, 6 months ago by chrishtr
Modified:
6 years, 6 months ago
Reviewers:
abarth-chromium
CC:
abarth-chromium, blink-layers+watch_chromium.org, blink-reviews, blink-reviews-rendering, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr., rune+blink, zoltan1
Project:
blink
Visibility:
Public.

Description

Get rid of compositing and squashing helper methods on RenderLayerModelObject. Calling them is basically a layering violation, so it should not be encouraged. Also made one method of RenderObject private that is already used as such, and updated RenderLayerClipper::clippingRootForPainting to use an already-available method on RenderLayer that is also used by RenderLayer::enclosingCompositingLayerForPaintInvalidation. This method does almost the same thing as RenderLayerClipper::clippingRootForPainting is intended to do; the latter just throws in an if(transform()). BUG=384520 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=177055

Patch Set 1 #

Patch Set 2 : Fixed compile. #

Patch Set 3 : Rebased. #

Patch Set 4 : Fixed compile. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -45 lines) Patch
M Source/core/rendering/RenderLayer.cpp View 1 2 3 chunks +4 lines, -4 lines 0 comments Download
M Source/core/rendering/RenderLayerClipper.cpp View 1 chunk +8 lines, -4 lines 0 comments Download
M Source/core/rendering/RenderLayerModelObject.h View 1 chunk +0 lines, -4 lines 0 comments Download
M Source/core/rendering/RenderLayerModelObject.cpp View 1 chunk +0 lines, -15 lines 0 comments Download
M Source/core/rendering/RenderLayerRepainter.cpp View 1 2 3 1 chunk +4 lines, -4 lines 0 comments Download
M Source/core/rendering/RenderLayerScrollableArea.cpp View 1 2 3 7 chunks +9 lines, -9 lines 0 comments Download
M Source/core/rendering/RenderObject.h View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/rendering/RenderSelectionInfo.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/rendering/compositing/RenderLayerCompositor.cpp View 1 2 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
chrishtr
6 years, 6 months ago (2014-06-26 22:58:00 UTC) #1
abarth-chromium
lgtm
6 years, 6 months ago (2014-06-27 03:11:55 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/chrishtr@chromium.org/342203004/50001
6 years, 6 months ago (2014-06-27 03:12:25 UTC) #3
commit-bot: I haz the power
6 years, 6 months ago (2014-06-27 03:34:51 UTC) #4
Message was sent while issue was closed.
Change committed as 177055

Powered by Google App Engine
This is Rietveld 408576698