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

Unified Diff: sky/engine/core/dom/shadow/InsertionPoint.cpp

Issue 862183003: Merge ShadowRootRareData into ShadowRoot. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | sky/engine/core/dom/shadow/ShadowRoot.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/dom/shadow/InsertionPoint.cpp
diff --git a/sky/engine/core/dom/shadow/InsertionPoint.cpp b/sky/engine/core/dom/shadow/InsertionPoint.cpp
index 1ac84d70647bc09d29bf14768c794c8846061e67..6f5675e72b7b99dc9ee564b16c4458f27c4f98aa 100644
--- a/sky/engine/core/dom/shadow/InsertionPoint.cpp
+++ b/sky/engine/core/dom/shadow/InsertionPoint.cpp
@@ -170,7 +170,7 @@ void InsertionPoint::insertedInto(ContainerNode* insertionPoint)
rootOwner->setNeedsDistributionRecalc();
if (canBeActive() && !m_registeredWithShadowRoot && insertionPoint->treeScope().rootNode() == root) {
m_registeredWithShadowRoot = true;
- root->didAddInsertionPoint(this);
+ root->didAddInsertionPoint();
if (canAffectSelector())
rootOwner->willAffectSelector();
}
@@ -198,7 +198,7 @@ void InsertionPoint::removedFrom(ContainerNode* insertionPoint)
if (m_registeredWithShadowRoot && insertionPoint->treeScope().rootNode() == root) {
ASSERT(root);
m_registeredWithShadowRoot = false;
- root->didRemoveInsertionPoint(this);
+ root->didRemoveInsertionPoint();
if (rootOwner) {
if (canAffectSelector())
rootOwner->willAffectSelector();
« no previous file with comments | « no previous file | sky/engine/core/dom/shadow/ShadowRoot.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698