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

Issue 1869773004: Move shadowCascadeOrder to Document from StyleEngine (Closed)

Created:
4 years, 8 months ago by yuzuchan
Modified:
4 years, 8 months ago
Reviewers:
hayato, kochi
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-css, blink-reviews-dom_chromium.org, blink-reviews-style_chromium.org, chromium-reviews, dglazkov+blink, eae+blinkwatch, rwlbuis, sof
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move shadowCascadeOrder to Document from StyleEngine This CL moves shadowCascadeOrder function from StyleEngine to Document, so that the function can be called more universally without including StyleEngine header. The change also makes sense because the shadowCascadingOrder is defined per document, not per styleengine. See the ShadowDOM Cascade Order discussion here: https://github.com/w3c/webcomponents/issues/316 BUG=601716 Committed: https://crrev.com/7a4cc8d341b50e4f51c73ec408f038940f38c6b0 Cr-Commit-Position: refs/heads/master@{#386329}

Patch Set 1 #

Patch Set 2 : Rebase #

Total comments: 2

Patch Set 3 : Remove ASSERT and insert DCHECK_NE #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -36 lines) Patch
M third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp View 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Document.h View 1 4 chunks +15 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Document.cpp View 1 2 1 chunk +18 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Element.cpp View 1 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/dom/StyleEngine.h View 3 chunks +0 lines, -13 lines 0 comments Download
M third_party/WebKit/Source/core/dom/StyleEngine.cpp View 1 1 chunk +0 lines, -18 lines 0 comments Download

Messages

Total messages: 14 (6 generated)
yuzuchan
PTAL :)
4 years, 8 months ago (2016-04-11 01:32:54 UTC) #2
hayato
LGTM https://codereview.chromium.org/1869773004/diff/20001/third_party/WebKit/Source/core/dom/Document.cpp File third_party/WebKit/Source/core/dom/Document.cpp (right): https://codereview.chromium.org/1869773004/diff/20001/third_party/WebKit/Source/core/dom/Document.cpp#newcode5967 third_party/WebKit/Source/core/dom/Document.cpp:5967: ASSERT(order != ShadowCascadeOrder::ShadowCascadeNone); DCHECK_NE(order, ShadowCascadeOrder::ShadowCascadeNone) is recommended. Source/core/dom ...
4 years, 8 months ago (2016-04-11 01:49:05 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1869773004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1869773004/40001
4 years, 8 months ago (2016-04-11 02:06:12 UTC) #5
yuzuchan
https://codereview.chromium.org/1869773004/diff/20001/third_party/WebKit/Source/core/dom/Document.cpp File third_party/WebKit/Source/core/dom/Document.cpp (right): https://codereview.chromium.org/1869773004/diff/20001/third_party/WebKit/Source/core/dom/Document.cpp#newcode5967 third_party/WebKit/Source/core/dom/Document.cpp:5967: ASSERT(order != ShadowCascadeOrder::ShadowCascadeNone); On 2016/04/11 at 01:49:05, hayato wrote: ...
4 years, 8 months ago (2016-04-11 02:06:33 UTC) #6
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-11 03:33:03 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1869773004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1869773004/40001
4 years, 8 months ago (2016-04-11 03:36:39 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 8 months ago (2016-04-11 03:42:10 UTC) #12
commit-bot: I haz the power
4 years, 8 months ago (2016-04-11 03:43:22 UTC) #14
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/7a4cc8d341b50e4f51c73ec408f038940f38c6b0
Cr-Commit-Position: refs/heads/master@{#386329}

Powered by Google App Engine
This is Rietveld 408576698