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

Issue 2644633003: ancestorOverflowLayer should not cross frame boundaries. (Closed)

Created:
3 years, 11 months ago by flackr
Modified:
3 years, 11 months ago
Reviewers:
pdr., chrishtr
CC:
blink-reviews, blink-reviews-paint_chromium.org, chrishtr, chromium-reviews, dshwang
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ancestorOverflowLayer should not cross frame boundaries. First off, we don't want sticky on the document to have any effect. Secondly, there seems to be no chain from the child frame's root PaintLayer to the parent which means that we do not correctly clean up ancestorOverflowLayers when layers in the parent are removed. BUG=679170 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2644633003 Cr-Commit-Position: refs/heads/master@{#444824} Committed: https://chromium.googlesource.com/chromium/src/+/a10ba600a7ad192660ded5dbe0ef94a559724452

Patch Set 1 #

Total comments: 2

Patch Set 2 : Set initial ancestorOverflowLayer to nullptr. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -0 lines) Patch
M third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (6 generated)
flackr
I found the cause of this crash. PrePaintTreeWalk::walk propagates the ancestorOverflowLayer from the parent frame ...
3 years, 11 months ago (2017-01-18 22:52:42 UTC) #3
pdr.
https://codereview.chromium.org/2644633003/diff/1/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp File third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp (right): https://codereview.chromium.org/2644633003/diff/1/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp#newcode56 third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp:56: // ancestorOverflowLayer does not cross frame boundaries. Nice find, ...
3 years, 11 months ago (2017-01-19 03:34:03 UTC) #5
flackr
https://codereview.chromium.org/2644633003/diff/1/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp File third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp (right): https://codereview.chromium.org/2644633003/diff/1/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp#newcode56 third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp:56: // ancestorOverflowLayer does not cross frame boundaries. On 2017/01/19 ...
3 years, 11 months ago (2017-01-19 13:45:36 UTC) #6
pdr.
LGTM
3 years, 11 months ago (2017-01-19 17:42:59 UTC) #7
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/2644633003/20001
3 years, 11 months ago (2017-01-19 18:12:59 UTC) #9
commit-bot: I haz the power
3 years, 11 months ago (2017-01-19 20:00:38 UTC) #12
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/a10ba600a7ad192660ded5dbe0ef...

Powered by Google App Engine
This is Rietveld 408576698