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

Issue 1925043002: Clean up ShadowRootRareData, ShadowRoot and SlotAssignment (Closed)

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

Description

Clean up ShadowRootRareData, ShadowRoot and SlotAssignment A lot of data are being scattered in these classes. To make it clean and their responsibilities clear, remove ShadowRootRareData, then move data owned by it into other classes: - Make SlotAssignment have a responsibility of managing all data related to slot assignments - Other data are now owned by ShadowRoot directly BUG=531990 Committed: https://crrev.com/affcdceef73880b9b2d3b7a889e9da01bca26b8b Cr-Commit-Position: refs/heads/master@{#390345}

Patch Set 1 #

Patch Set 2 : make stylesheet() return reference #

Total comments: 5

Patch Set 3 : fixed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -189 lines) Patch
M third_party/WebKit/Source/core/core.gypi View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/Document.h View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/Document.cpp View 1 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/dom/DocumentOrShadowRoot.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/dom/shadow/ElementShadow.cpp View 1 1 chunk +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/dom/shadow/ShadowRoot.h View 1 2 7 chunks +36 lines, -44 lines 0 comments Download
M third_party/WebKit/Source/core/dom/shadow/ShadowRoot.cpp View 1 2 8 chunks +32 lines, -49 lines 0 comments Download
D third_party/WebKit/Source/core/dom/shadow/ShadowRootRareData.h View 1 chunk +0 lines, -83 lines 0 comments Download
M third_party/WebKit/Source/core/dom/shadow/SlotAssignment.h View 1 2 1 chunk +13 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/shadow/SlotAssignment.cpp View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/imports/HTMLImportChild.cpp View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 25 (11 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1925043002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1925043002/1
4 years, 7 months ago (2016-04-28 07:38:03 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_compile_dbg on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_compile_dbg/builds/57971)
4 years, 7 months ago (2016-04-28 07:56:18 UTC) #6
hayato
make stylesheet() return reference
4 years, 7 months ago (2016-04-28 08:03:11 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1925043002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1925043002/20001
4 years, 7 months ago (2016-04-28 08:03:16 UTC) #9
hayato
PTAL
4 years, 7 months ago (2016-04-28 08:05:45 UTC) #11
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: chromeos_daisy_chromium_compile_only_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_daisy_chromium_compile_only_ng/builds/129315)
4 years, 7 months ago (2016-04-28 08:22:11 UTC) #13
kochi
https://codereview.chromium.org/1925043002/diff/20001/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.cpp File third_party/WebKit/Source/core/dom/shadow/ShadowRoot.cpp (right): https://codereview.chromium.org/1925043002/diff/20001/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.cpp#newcode47 third_party/WebKit/Source/core/dom/shadow/ShadowRoot.cpp:47: struct SameSizeAsShadowRoot : public DocumentFragment, public TreeScope { Looks ...
4 years, 7 months ago (2016-04-28 08:36:37 UTC) #14
hayato
fixed
4 years, 7 months ago (2016-04-28 08:59:25 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1925043002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1925043002/40001
4 years, 7 months ago (2016-04-28 08:59:47 UTC) #17
hayato
I have updated bit-fields. Now ShadowRoot should have the same size. https://codereview.chromium.org/1925043002/diff/20001/third_party/WebKit/Source/core/dom/shadow/SlotAssignment.h File third_party/WebKit/Source/core/dom/shadow/SlotAssignment.h (right): ...
4 years, 7 months ago (2016-04-28 09:02:00 UTC) #18
kochi
lgtm
4 years, 7 months ago (2016-04-28 09:31:18 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1925043002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1925043002/40001
4 years, 7 months ago (2016-04-28 09:36:10 UTC) #22
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 7 months ago (2016-04-28 10:57:25 UTC) #23
commit-bot: I haz the power
4 years, 7 months ago (2016-04-30 17:17:28 UTC) #24
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/affcdceef73880b9b2d3b7a889e9da01bca26b8b
Cr-Commit-Position: refs/heads/master@{#390345}

Powered by Google App Engine
This is Rietveld 408576698