| Index: third_party/WebKit/Source/core/dom/TreeScope.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/TreeScope.cpp b/third_party/WebKit/Source/core/dom/TreeScope.cpp
|
| index 921c286d236aa359119073506478150c08cd6154..fe8f2ff9f4158bc2e2c17573f1389aacf4d19d1b 100644
|
| --- a/third_party/WebKit/Source/core/dom/TreeScope.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/TreeScope.cpp
|
| @@ -132,11 +132,6 @@ void TreeScope::destroyTreeScopeData()
|
| }
|
| #endif
|
|
|
| -void TreeScope::setDocument(Document& document)
|
| -{
|
| - m_document = &document;
|
| -}
|
| -
|
| void TreeScope::setParentTreeScope(TreeScope& newParentScope)
|
| {
|
| // A document node cannot be re-parented.
|
| @@ -151,11 +146,6 @@ void TreeScope::setParentTreeScope(TreeScope& newParentScope)
|
| setDocument(newParentScope.document());
|
| }
|
|
|
| -ScopedStyleResolver* TreeScope::scopedStyleResolver() const
|
| -{
|
| - return m_scopedStyleResolver.get();
|
| -}
|
| -
|
| ScopedStyleResolver& TreeScope::ensureScopedStyleResolver()
|
| {
|
| RELEASE_ASSERT(this);
|
| @@ -204,12 +194,6 @@ void TreeScope::removeElementById(const AtomicString& elementId, Element* elemen
|
| m_idTargetObserverRegistry->notifyObservers(elementId);
|
| }
|
|
|
| -Document& TreeScope::document() const
|
| -{
|
| - ASSERT(m_document);
|
| - return *m_document;
|
| -}
|
| -
|
| Node* TreeScope::ancestorInThisScope(Node* node) const
|
| {
|
| while (node) {
|
| @@ -435,11 +419,6 @@ void TreeScope::adoptIfNeeded(Node& node)
|
| adopter.execute();
|
| }
|
|
|
| -IdTargetObserverRegistry& TreeScope::idTargetObserverRegistry() const
|
| -{
|
| - return *m_idTargetObserverRegistry.get();
|
| -}
|
| -
|
| Element* TreeScope::adjustedFocusedElement() const
|
| {
|
| Document& document = rootNode().document();
|
|
|