| Index: Source/core/dom/shadow/ShadowRoot.cpp
|
| diff --git a/Source/core/dom/shadow/ShadowRoot.cpp b/Source/core/dom/shadow/ShadowRoot.cpp
|
| index 4554cfa6cd71991c2c2ad1009f702be036fef951..97d892820fbc4a85c296c0b2a5d75f3cd4378b01 100644
|
| --- a/Source/core/dom/shadow/ShadowRoot.cpp
|
| +++ b/Source/core/dom/shadow/ShadowRoot.cpp
|
| @@ -163,7 +163,7 @@ void ShadowRoot::recalcStyle(StyleChange change)
|
| ASSERT(!hasCustomStyleCallbacks());
|
|
|
| StyleResolver* styleResolver = document().styleResolver();
|
| - styleResolver->pushParentShadowRoot(this);
|
| + styleResolver->pushParentShadowRoot(*this);
|
|
|
| if (!attached()) {
|
| attach();
|
| @@ -196,7 +196,7 @@ void ShadowRoot::recalcStyle(StyleChange change)
|
| forceReattachOfAnyWhitespaceSibling = didReattach || forceReattachOfAnyWhitespaceSibling;
|
| }
|
|
|
| - styleResolver->popParentShadowRoot(this);
|
| + styleResolver->popParentShadowRoot(*this);
|
| clearNeedsStyleRecalc();
|
| clearChildNeedsStyleRecalc();
|
| }
|
| @@ -253,9 +253,9 @@ void ShadowRoot::setResetStyleInheritance(bool value)
|
| void ShadowRoot::attach(const AttachContext& context)
|
| {
|
| StyleResolver* styleResolver = document().styleResolver();
|
| - styleResolver->pushParentShadowRoot(this);
|
| + styleResolver->pushParentShadowRoot(*this);
|
| DocumentFragment::attach(context);
|
| - styleResolver->popParentShadowRoot(this);
|
| + styleResolver->popParentShadowRoot(*this);
|
| }
|
|
|
| Node::InsertionNotificationRequest ShadowRoot::insertedInto(ContainerNode* insertionPoint)
|
|
|