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

Issue 2874793004: Remove one use of ScrollNode's owning_layer_id for StickyPositionOffset (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 one use of ScrollNode's owning_layer_id for StickyPositionOffset This patch removes one more owning_layer_id. This is the first of many related to scroll offsets. BUG=693740 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2874793004 Cr-Commit-Position: refs/heads/master@{#471465} Committed: https://chromium.googlesource.com/chromium/src/+/b0fbfe1542e538079f74439a578a2b08cb8a88ba

Patch Set 1 #

Patch Set 2 : DCHECK that the scroll offset values are unchanged #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -9 lines) Patch
M cc/trees/property_tree.cc View 1 1 chunk +10 lines, -9 lines 2 comments Download

Messages

Total messages: 24 (12 generated)
pdr.
3 years, 7 months ago (2017-05-10 23:14:02 UTC) #2
chrishtr
Looks good, as long as the transform node always gets the scroll offset.
3 years, 7 months ago (2017-05-10 23:39:57 UTC) #3
pdr.
On 2017/05/10 at 23:39:57, chrishtr wrote: > Looks good, as long as the transform node ...
3 years, 7 months ago (2017-05-10 23:45:46 UTC) #5
wkorman
lgtm
3 years, 7 months ago (2017-05-11 03:07:38 UTC) #10
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/2874793004/20001
3 years, 7 months ago (2017-05-12 16:05:55 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/435426)
3 years, 7 months ago (2017-05-12 16:15:54 UTC) #14
pdr.
enne or chris, can you review this?
3 years, 7 months ago (2017-05-12 22:08:47 UTC) #15
chrishtr
lgtm https://codereview.chromium.org/2874793004/diff/20001/cc/trees/property_tree.cc File cc/trees/property_tree.cc (right): https://codereview.chromium.org/2874793004/diff/20001/cc/trees/property_tree.cc#newcode361 cc/trees/property_tree.cc:361: DCHECK(property_trees.scroll_tree.current_scroll_offset( Add a note that this can be ...
3 years, 7 months ago (2017-05-12 22:11:21 UTC) #16
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/2874793004/20001
3 years, 7 months ago (2017-05-12 22:13:29 UTC) #18
enne (OOO)
lgtm https://codereview.chromium.org/2874793004/diff/20001/cc/trees/property_tree.cc File cc/trees/property_tree.cc (right): https://codereview.chromium.org/2874793004/diff/20001/cc/trees/property_tree.cc#newcode361 cc/trees/property_tree.cc:361: DCHECK(property_trees.scroll_tree.current_scroll_offset( Can you DCHECK_EQ this?
3 years, 7 months ago (2017-05-12 22:15:28 UTC) #19
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/chromium/src/+/b0fbfe1542e538079f74439a578a2b08cb8a88ba
3 years, 7 months ago (2017-05-12 22:22:29 UTC) #23
pdr.
3 years, 7 months ago (2017-05-12 22:27:01 UTC) #24
Message was sent while issue was closed.
On 2017/05/12 at 22:22:29, commit-bot wrote:
> Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/b0fbfe1542e538079f74439a578a...

Sorry enne. I clicked cancel commit but it was already committing.

Chris and I discussed this offline a bit. There are ~10 of these dchecks that
are just ensuring we don't mess up owning_layer_id logic during this refactor.
They will all be removed soon.

Powered by Google App Engine
This is Rietveld 408576698