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

Issue 2634493007: Introduce LayoutObject::AncestorSkipInfo. (Closed)

Created:
3 years, 11 months ago by mstensho (USE GERRIT)
Modified:
3 years, 11 months ago
Reviewers:
Xianzhu, eae
CC:
chromium-reviews, szager+layoutwatch_chromium.org, zoltan1, blink-reviews-layout_chromium.org, pdr+renderingwatchlist_chromium.org, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering, blink-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Introduce LayoutObject::AncestorSkipInfo. This replaces three optional parameters to container() and similar methods. No behavioral changes intended. Review-Url: https://codereview.chromium.org/2634493007 Cr-Commit-Position: refs/heads/master@{#444105} Committed: https://chromium.googlesource.com/chromium/src/+/10212c417a1326fd26f8aeee0f2f446d9f1e9793

Patch Set 1 #

Total comments: 21

Patch Set 2 : rebase master #

Patch Set 3 : Bitify FilterInducingProperty, inline update(), remove setAncestor() and resetOutput(), more docume… #

Patch Set 4 : Turn AncestorSkipInfo into a proper class with private data members. Only look for filters when tol… #

Unified diffs Side-by-side diffs Delta from patch set Stats (+104 lines, -111 lines) Patch
M third_party/WebKit/Source/core/layout/LayoutBox.cpp View 1 2 3 3 chunks +4 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp View 1 2 3 3 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutObject.h View 1 2 3 4 chunks +51 lines, -21 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutObject.cpp View 1 2 3 10 chunks +36 lines, -71 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutObjectTest.cpp View 1 2 3 1 chunk +6 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ScrollAnchor.cpp View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 26 (16 generated)
mstensho (USE GERRIT)
3 years, 11 months ago (2017-01-15 08:02:56 UTC) #6
Xianzhu
I think this is a nice cleanup. Thanks! https://codereview.chromium.org/2634493007/diff/1/third_party/WebKit/Source/core/layout/LayoutObject.cpp File third_party/WebKit/Source/core/layout/LayoutObject.cpp (right): https://codereview.chromium.org/2634493007/diff/1/third_party/WebKit/Source/core/layout/LayoutObject.cpp#newcode864 third_party/WebKit/Source/core/layout/LayoutObject.cpp:864: DCHECK(!skipInfo ...
3 years, 11 months ago (2017-01-15 19:41:13 UTC) #7
mstensho (USE GERRIT)
https://codereview.chromium.org/2634493007/diff/1/third_party/WebKit/Source/core/layout/LayoutObject.cpp File third_party/WebKit/Source/core/layout/LayoutObject.cpp (right): https://codereview.chromium.org/2634493007/diff/1/third_party/WebKit/Source/core/layout/LayoutObject.cpp#newcode864 third_party/WebKit/Source/core/layout/LayoutObject.cpp:864: DCHECK(!skipInfo || !skipInfo->filterSkipped); On 2017/01/15 19:41:13, Xianzhu wrote: > ...
3 years, 11 months ago (2017-01-15 21:09:25 UTC) #8
Xianzhu
https://codereview.chromium.org/2634493007/diff/1/third_party/WebKit/Source/core/layout/LayoutObject.cpp File third_party/WebKit/Source/core/layout/LayoutObject.cpp (right): https://codereview.chromium.org/2634493007/diff/1/third_party/WebKit/Source/core/layout/LayoutObject.cpp#newcode2468 third_party/WebKit/Source/core/layout/LayoutObject.cpp:2468: skipInfo->resetOutput(); On 2017/01/15 21:09:25, mstensho wrote: > What about ...
3 years, 11 months ago (2017-01-15 23:05:05 UTC) #9
mstensho (USE GERRIT)
https://codereview.chromium.org/2634493007/diff/1/third_party/WebKit/Source/core/layout/LayoutObject.cpp File third_party/WebKit/Source/core/layout/LayoutObject.cpp (right): https://codereview.chromium.org/2634493007/diff/1/third_party/WebKit/Source/core/layout/LayoutObject.cpp#newcode864 third_party/WebKit/Source/core/layout/LayoutObject.cpp:864: DCHECK(!skipInfo || !skipInfo->filterSkipped); On 2017/01/15 21:09:25, mstensho wrote: > ...
3 years, 11 months ago (2017-01-16 09:34:04 UTC) #12
mstensho (USE GERRIT)
https://codereview.chromium.org/2634493007/diff/1/third_party/WebKit/Source/core/layout/LayoutObject.cpp File third_party/WebKit/Source/core/layout/LayoutObject.cpp (right): https://codereview.chromium.org/2634493007/diff/1/third_party/WebKit/Source/core/layout/LayoutObject.cpp#newcode864 third_party/WebKit/Source/core/layout/LayoutObject.cpp:864: DCHECK(!skipInfo || !skipInfo->filterSkipped); On 2017/01/16 09:34:04, mstensho wrote: > ...
3 years, 11 months ago (2017-01-16 14:39:02 UTC) #17
eae
LGTM once Xianzhu is happy. Thank you!
3 years, 11 months ago (2017-01-17 02:52:13 UTC) #20
Xianzhu
lgtm
3 years, 11 months ago (2017-01-17 17:42:59 UTC) #22
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/2634493007/60001
3 years, 11 months ago (2017-01-17 17:43:14 UTC) #23
commit-bot: I haz the power
3 years, 11 months ago (2017-01-17 19:18:05 UTC) #26
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/10212c417a1326fd26f8aeee0f2f...

Powered by Google App Engine
This is Rietveld 408576698