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

Issue 2887053002: Remove scroll_clip_layer dependency from viewport layer tracking (Closed)

Created:
3 years, 7 months ago by pdr.
Modified:
3 years, 7 months ago
CC:
cc-bugs_chromium.org, chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove scroll_clip_layer dependency from viewport layer tracking This patch prepares for removing scroll_clip_layer by removing uses of scroll_clip_layer from the viewport layers. All 4 viewport layers are now tracked explicitly instead of just tracking the scroll layers and using scroll_clip_layer() to lookup the container layers. BUG=723263 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2887053002 Cr-Commit-Position: refs/heads/master@{#472630} Committed: https://chromium.googlesource.com/chromium/src/+/9bb53af48ddd915e3b94a145722ad9e2d6650fc8

Patch Set 1 #

Patch Set 2 : Remove crashing lines from dchecks #

Patch Set 3 : Fix inner container bug in test #

Patch Set 4 : Remove bad todo #

Patch Set 5 : Also update Web #

Total comments: 5

Patch Set 6 : Cleanup return stmt #

Unified diffs Side-by-side diffs Delta from patch set Stats (+199 lines, -85 lines) Patch
M cc/layers/layer_impl_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M cc/layers/layer_position_constraint_unittest.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M cc/test/fake_layer_tree_host.cc View 1 chunk +8 lines, -1 line 0 comments Download
M cc/test/layer_tree_test.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M cc/test/test_layer_tree_host_base.cc View 1 chunk +2 lines, -1 line 0 comments Download
M cc/trees/layer_tree_host.h View 2 chunks +15 lines, -4 lines 0 comments Download
M cc/trees/layer_tree_host.cc View 1 2 3 3 chunks +11 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host_common_unittest.cc View 1 7 chunks +15 lines, -8 lines 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 2 13 chunks +34 lines, -19 lines 0 comments Download
M cc/trees/layer_tree_host_unittest.cc View 4 chunks +10 lines, -6 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_picture.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_scroll.cc View 1 chunk +2 lines, -1 line 0 comments Download
M cc/trees/layer_tree_impl.h View 1 2 chunks +6 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_impl.cc View 1 5 chunks +20 lines, -24 lines 0 comments Download
M cc/trees/layer_tree_impl_unittest.cc View 3 chunks +8 lines, -5 lines 0 comments Download
M content/renderer/gpu/render_widget_compositor.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M content/renderer/gpu/render_widget_compositor.cc View 1 2 3 4 1 chunk +15 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.cpp View 1 2 3 4 5 1 chunk +7 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/GraphicsLayerTest.cpp View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/testing/WebLayerTreeViewImplForTesting.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/testing/WebLayerTreeViewImplForTesting.cpp View 1 2 3 4 3 chunks +13 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebViewImpl.cpp View 1 2 3 4 2 chunks +13 lines, -4 lines 0 comments Download
M third_party/WebKit/public/platform/WebLayerTreeView.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 28 (18 generated)
pdr.
3 years, 7 months ago (2017-05-17 18:48:53 UTC) #9
enne (OOO)
lgtm
3 years, 7 months ago (2017-05-17 19:16:03 UTC) #13
chrishtr
Cool!
3 years, 7 months ago (2017-05-17 19:19:12 UTC) #14
pdr.
On 2017/05/17 at 19:19:12, chrishtr wrote: > Cool! Latest patch has a bunch of Web* ...
3 years, 7 months ago (2017-05-17 20:48:02 UTC) #17
wkorman
https://codereview.chromium.org/2887053002/diff/80001/cc/trees/layer_tree_host.h File cc/trees/layer_tree_host.h (right): https://codereview.chromium.org/2887053002/diff/80001/cc/trees/layer_tree_host.h#newcode244 cc/trees/layer_tree_host.h:244: void RegisterViewportLayers( For consideration -- with 6 params it's ...
3 years, 7 months ago (2017-05-17 20:59:39 UTC) #18
pdr.
https://codereview.chromium.org/2887053002/diff/80001/cc/trees/layer_tree_host.h File cc/trees/layer_tree_host.h (right): https://codereview.chromium.org/2887053002/diff/80001/cc/trees/layer_tree_host.h#newcode244 cc/trees/layer_tree_host.h:244: void RegisterViewportLayers( On 2017/05/17 at 20:59:39, wkorman wrote: > ...
3 years, 7 months ago (2017-05-17 21:36:44 UTC) #19
wkorman
lgtm https://codereview.chromium.org/2887053002/diff/80001/cc/trees/layer_tree_host.h File cc/trees/layer_tree_host.h (right): https://codereview.chromium.org/2887053002/diff/80001/cc/trees/layer_tree_host.h#newcode244 cc/trees/layer_tree_host.h:244: void RegisterViewportLayers( On 2017/05/17 21:36:44, pdr. wrote: > ...
3 years, 7 months ago (2017-05-17 21:45:50 UTC) #20
chrishtr
lgtm
3 years, 7 months ago (2017-05-17 21:47:40 UTC) #21
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/2887053002/100001
3 years, 7 months ago (2017-05-17 21:49:20 UTC) #24
commit-bot: I haz the power
3 years, 7 months ago (2017-05-18 03:25:48 UTC) #28
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/9bb53af48ddd915e3b94a145722a...

Powered by Google App Engine
This is Rietveld 408576698