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

Issue 2349713002: [cc] Remove unused parameter to DidUpdateScrollOffset (Closed)

Created:
4 years, 3 months ago by Ian Vollick
Modified:
4 years, 3 months ago
Reviewers:
sunxd
CC:
chromium-reviews, cc-bugs_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[cc] Remove unused parameter to DidUpdateScrollOffset It's either reset or we early-out. The only real change is in LayerTreeImpl. The other changes are just call site updates to skip passing the 2nd parameter. BUG=None CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel Committed: https://crrev.com/c969691b5dcba7987434cd4123763fb8804b26ff Cr-Commit-Position: refs/heads/master@{#419177}

Patch Set 1 #

Total comments: 2

Patch Set 2 : address reviewer comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -25 lines) Patch
M cc/layers/layer_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/layer_impl_unittest.cc View 1 chunk +1 line, -2 lines 0 comments Download
M cc/layers/layer_position_constraint_unittest.cc View 1 chunk +1 line, -2 lines 0 comments Download
M cc/trees/layer_tree_host_common_unittest.cc View 1 chunk +1 line, -2 lines 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 2 chunks +2 lines, -4 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_scroll.cc View 1 chunk +1 line, -2 lines 0 comments Download
M cc/trees/layer_tree_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/layer_tree_impl.cc View 1 2 chunks +6 lines, -6 lines 0 comments Download
M cc/trees/property_tree.cc View 3 chunks +4 lines, -5 lines 0 comments Download

Messages

Total messages: 20 (13 generated)
Ian Vollick
4 years, 3 months ago (2016-09-16 14:19:09 UTC) #6
Ian Vollick
Xianda, PTAL. I ran across this while I was looking at decoupling CompositorMutableState and layers.
4 years, 3 months ago (2016-09-16 14:22:30 UTC) #8
sunxd
LGTM with a suggestion on comments. https://codereview.chromium.org/2349713002/diff/1/cc/trees/layer_tree_impl.cc File cc/trees/layer_tree_impl.cc (right): https://codereview.chromium.org/2349713002/diff/1/cc/trees/layer_tree_impl.cc#newcode160 cc/trees/layer_tree_impl.cc:160: transform_id = LayerById(layer_id)->transform_tree_index(); ...
4 years, 3 months ago (2016-09-16 14:34:57 UTC) #10
Ian Vollick
https://codereview.chromium.org/2349713002/diff/1/cc/trees/layer_tree_impl.cc File cc/trees/layer_tree_impl.cc (right): https://codereview.chromium.org/2349713002/diff/1/cc/trees/layer_tree_impl.cc#newcode160 cc/trees/layer_tree_impl.cc:160: transform_id = LayerById(layer_id)->transform_tree_index(); On 2016/09/16 14:34:57, sunxd wrote: > ...
4 years, 3 months ago (2016-09-16 15:09:45 UTC) #13
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/2349713002/10001
4 years, 3 months ago (2016-09-16 15:10:13 UTC) #16
commit-bot: I haz the power
Committed patchset #2 (id:10001)
4 years, 3 months ago (2016-09-16 16:03:06 UTC) #18
commit-bot: I haz the power
4 years, 3 months ago (2016-09-16 16:04:22 UTC) #20
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/c969691b5dcba7987434cd4123763fb8804b26ff
Cr-Commit-Position: refs/heads/master@{#419177}

Powered by Google App Engine
This is Rietveld 408576698