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

Issue 2803013005: Deduplicating compositing scrollingCoordinator helper (Closed)

Created:
3 years, 8 months ago by Daniel Bratell
Modified:
3 years, 8 months ago
Reviewers:
pdr., Xianzhu
CC:
chromium-reviews, pdr+renderingwatchlist_chromium.org, zoltan1, blink-reviews-layout_chromium.org, szager+layoutwatch_chromium.org, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering, blink-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Deduplicating compositing scrollingCoordinator helper In the experiments with unity builds I ran into the scrollingCoordinatorFromLayer function that was defined identically at two different places. This patch moves the code to PaintLayer where it is also available to PaintLayer itself. R=pdr@chromium.org CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2803013005 Cr-Commit-Position: refs/heads/master@{#464054} Committed: https://chromium.googlesource.com/chromium/src/+/a25783c221c34f889678d96b8c119c976b0bb45a

Patch Set 1 #

Total comments: 2

Patch Set 2 : Moved function to PaintLayer #

Patch Set 3 : Rebased post blink rename #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -21 lines) Patch
M third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp View 1 2 6 chunks +5 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/core/layout/compositing/CompositingLayerAssigner.cpp View 1 2 2 chunks +1 line, -6 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayer.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayer.cpp View 1 2 2 chunks +7 lines, -3 lines 0 comments Download

Messages

Total messages: 22 (16 generated)
Daniel Bratell
Please take a look.
3 years, 8 months ago (2017-04-07 19:14:53 UTC) #3
Xianzhu
https://codereview.chromium.org/2803013005/diff/1/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp File third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp (left): https://codereview.chromium.org/2803013005/diff/1/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp#oldcode165 third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp:165: static ScrollingCoordinator* scrollingCoordinatorFromLayer(PaintLayer& layer) { It seems better to ...
3 years, 8 months ago (2017-04-07 19:26:19 UTC) #6
Daniel Bratell
https://codereview.chromium.org/2803013005/diff/1/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp File third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp (left): https://codereview.chromium.org/2803013005/diff/1/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp#oldcode165 third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp:165: static ScrollingCoordinator* scrollingCoordinatorFromLayer(PaintLayer& layer) { On 2017/04/07 19:26:19, Xianzhu ...
3 years, 8 months ago (2017-04-08 08:08:24 UTC) #9
pdr.
On 2017/04/08 at 08:08:24, bratell wrote: > https://codereview.chromium.org/2803013005/diff/1/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp > File third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp (left): > > https://codereview.chromium.org/2803013005/diff/1/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp#oldcode165 ...
3 years, 8 months ago (2017-04-10 01:06:25 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2803013005/40001
3 years, 8 months ago (2017-04-12 14:54:46 UTC) #18
commit-bot: I haz the power
3 years, 8 months ago (2017-04-12 16:46:49 UTC) #22
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/a25783c221c34f889678d96b8c11...

Powered by Google App Engine
This is Rietveld 408576698