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

Unified Diff: third_party/WebKit/Source/core/dom/TreeScope.cpp

Issue 1461193003: Revert of [Oilpan] Prepare full definition of classes before using Member (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make patch applicable Created 5 years, 1 month 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 | « third_party/WebKit/Source/core/dom/TreeScope.h ('k') | third_party/WebKit/Source/core/editing/Editor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « third_party/WebKit/Source/core/dom/TreeScope.h ('k') | third_party/WebKit/Source/core/editing/Editor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698