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

Issue 2743653003: Revert of Remove indirection: setup scrollbar scroll layers in the scrollbar constructor (Closed)

Created:
3 years, 9 months ago by pdr.
Modified:
3 years, 9 months ago
Reviewers:
bokan, ajuma
CC:
blink-layers+watch_chromium.org, blink-reviews, blink-reviews-api_chromium.org, blink-reviews-frames_chromium.org, cc-bugs_chromium.org, chromium-reviews, dglazkov+blink, kenneth.christiansen, kinuko+watch
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert of Remove indirection: setup scrollbar scroll layers in the scrollbar constructor (patchset #5 id:80001 of https://codereview.chromium.org/2728253002/ ) Reason for revert: Regressed scrolling performance: https://crbug.com/699705 Original issue's description: > Remove indirection: setup scrollbar scroll layers in the scrollbar constructor > > Scrollbar layers keep track of the layer id (soon: element id) that they > actually scroll. Before this patch, scrollbar layers were constructed > with no scroll layer id, then later updated to set the scroll layer id. > This patch removes this indirection and directly sets the scroll layer > in the constructor. > > Removed functions: > VisualViewport::setScrollLayerOnScrollbars > WebScrollbarLayer::setScrollLayer > WebScrollbarLayerImpl::setScrollLayer > PaintedOverlayScrollbarLayer::SetScrollLayer > PaintedScrollbarLayer::SetScrollLayer > SolidColorScrollbarLayer::SetScrollLayer > > BUG=693740 > CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel > > Review-Url: https://codereview.chromium.org/2728253002 > Cr-Commit-Position: refs/heads/master@{#455105} > Committed: https://chromium.googlesource.com/chromium/src/+/a20ad732333dc9db2b545886acd16a11abdc5842 TBR=ajuma@chromium.org,bokan@chromium.org # Not skipping CQ checks because original CL landed more than 1 days ago. BUG=693740 Review-Url: https://codereview.chromium.org/2743653003 Cr-Commit-Position: refs/heads/master@{#455828} Committed: https://chromium.googlesource.com/chromium/src/+/53707d796144fb0c60f081e4477b31a7adab4e6d

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+119 lines, -86 lines) Patch
M cc/blink/web_compositor_support_impl.h View 1 chunk +3 lines, -6 lines 0 comments Download
M cc/blink/web_compositor_support_impl.cc View 2 chunks +8 lines, -11 lines 0 comments Download
M cc/blink/web_scrollbar_layer_impl.h View 1 chunk +7 lines, -4 lines 0 comments Download
M cc/blink/web_scrollbar_layer_impl.cc View 2 chunks +30 lines, -23 lines 0 comments Download
M cc/layers/painted_overlay_scrollbar_layer.h View 1 chunk +1 line, -0 lines 0 comments Download
M cc/layers/painted_overlay_scrollbar_layer.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M cc/layers/painted_scrollbar_layer.h View 1 chunk +2 lines, -0 lines 0 comments Download
M cc/layers/painted_scrollbar_layer.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M cc/layers/scrollbar_layer_interface.h View 1 chunk +1 line, -0 lines 0 comments Download
M cc/layers/scrollbar_layer_unittest.cc View 3 chunks +3 lines, -0 lines 0 comments Download
M cc/layers/solid_color_scrollbar_layer.h View 1 chunk +1 line, -0 lines 0 comments Download
M cc/layers/solid_color_scrollbar_layer.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/VisualViewport.h View 2 chunks +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/VisualViewport.cpp View 2 chunks +9 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.h View 2 chunks +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp View 6 chunks +9 lines, -18 lines 0 comments Download
M third_party/WebKit/Source/platform/testing/TestingPlatformSupport.h View 1 chunk +3 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/platform/testing/TestingPlatformSupport.cpp View 3 chunks +3 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/web/WebViewImpl.cpp View 1 chunk +6 lines, -0 lines 0 comments Download
M third_party/WebKit/public/platform/WebCompositorSupport.h View 1 chunk +3 lines, -6 lines 0 comments Download
M third_party/WebKit/public/platform/WebScrollbarLayer.h View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (3 generated)
pdr.
Created Revert of Remove indirection: setup scrollbar scroll layers in the scrollbar constructor
3 years, 9 months ago (2017-03-09 17:52:06 UTC) #2
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/2743653003/1
3 years, 9 months ago (2017-03-09 17:52:36 UTC) #3
bokan
Seems surprising this would regress performance...
3 years, 9 months ago (2017-03-09 18:59:01 UTC) #4
commit-bot: I haz the power
3 years, 9 months ago (2017-03-09 19:31:00 UTC) #7
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/53707d796144fb0c60f081e4477b...

Powered by Google App Engine
This is Rietveld 408576698