| Index: third_party/WebKit/Source/core/dom/Element.h
|
| diff --git a/third_party/WebKit/Source/core/dom/Element.h b/third_party/WebKit/Source/core/dom/Element.h
|
| index dfa90ecdc8a1433b03f46907ea335c925d9d4b49..47c935229605c257c963161ed96188cf09757a8c 100644
|
| --- a/third_party/WebKit/Source/core/dom/Element.h
|
| +++ b/third_party/WebKit/Source/core/dom/Element.h
|
| @@ -881,7 +881,7 @@ inline void Node::removedFrom(ContainerNode* insertionPoint)
|
| clearFlag(InDocumentFlag);
|
| insertionPoint->document().decrementNodeCount();
|
| }
|
| - if (isInShadowTree() && !treeScope().rootNode().isShadowRoot())
|
| + if (isInShadowTree() && !rootTreeScope().rootNode().isShadowRoot())
|
| clearFlag(IsInShadowTreeFlag);
|
| if (AXObjectCache* cache = document().existingAXObjectCache())
|
| cache->remove(this);
|
|
|