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

Issue 1999783003: cc : Initialize solid color scrollbar layer on main thread to 0. (Closed)

Created:
4 years, 7 months ago by jaydasika
Modified:
4 years, 7 months ago
CC:
cc-bugs_chromium.org, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc : Initialize solid color scrollbar layer on main thread to 0. We currently initialize it to 0 on the compositor thread. This is required to make property trees on the compositor thread independent of opacity stored on LayerImpl (with the goal of deleting LayerImpl::opacity) BUG=609205 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/3093be3ace64cb9049fd76ccbcc749e2a48cd58d Cr-Commit-Position: refs/heads/master@{#395959}

Patch Set 1 #

Total comments: 1

Patch Set 2 : #

Patch Set 3 : Rebase #

Patch Set 4 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -16 lines) Patch
M cc/layers/layer.h View 1 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/scrollbar_layer_unittest.cc View 1 2 3 1 chunk +26 lines, -13 lines 0 comments Download
M cc/layers/solid_color_scrollbar_layer.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M cc/layers/solid_color_scrollbar_layer.cc View 1 2 3 2 chunks +9 lines, -1 line 1 comment Download
M cc/layers/solid_color_scrollbar_layer_impl.cc View 1 chunk +0 lines, -1 line 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (5 generated)
jaydasika
PTAL
4 years, 7 months ago (2016-05-20 22:43:12 UTC) #3
jaydasika
https://codereview.chromium.org/1999783003/diff/1/cc/layers/scrollbar_layer_unittest.cc File cc/layers/scrollbar_layer_unittest.cc (right): https://codereview.chromium.org/1999783003/diff/1/cc/layers/scrollbar_layer_unittest.cc#newcode550 cc/layers/scrollbar_layer_unittest.cc:550: EXPECT_EQ(node->data.opacity, 0.f); This tests that 0 opacity gets pushed ...
4 years, 7 months ago (2016-05-20 22:46:33 UTC) #4
jaydasika
+aelias Ali pointed out in an offline discussion that we need to prevent blink from ...
4 years, 7 months ago (2016-05-20 23:49:44 UTC) #6
aelias_OOO_until_Jul13
Semantic change is fine by me, but wouldn't it be cleaner to change Blink to ...
4 years, 7 months ago (2016-05-21 00:14:10 UTC) #7
jaydasika
It looks like blink ensures it sets up scrollbars with 0 opacity already (See VisualViewport::setupScrollbar) ...
4 years, 7 months ago (2016-05-24 23:37:23 UTC) #8
aelias_OOO_until_Jul13
lgtm
4 years, 7 months ago (2016-05-24 23:47:14 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1999783003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1999783003/60001
4 years, 7 months ago (2016-05-25 18:41:55 UTC) #11
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 7 months ago (2016-05-25 19:24:07 UTC) #12
commit-bot: I haz the power
4 years, 7 months ago (2016-05-25 19:25:35 UTC) #14
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/3093be3ace64cb9049fd76ccbcc749e2a48cd58d
Cr-Commit-Position: refs/heads/master@{#395959}

Powered by Google App Engine
This is Rietveld 408576698