| Index: Source/core/dom/TreeScope.cpp
|
| diff --git a/Source/core/dom/TreeScope.cpp b/Source/core/dom/TreeScope.cpp
|
| index b0954f99645ca42080b6d54a2a3e19ffc294f462..a7c3e671b4b3832bd0e1ccc78a2832f50ddbdafe 100644
|
| --- a/Source/core/dom/TreeScope.cpp
|
| +++ b/Source/core/dom/TreeScope.cpp
|
| @@ -80,14 +80,6 @@ TreeScope::TreeScope(Document* document)
|
| m_rootNode->setTreeScope(this);
|
| }
|
|
|
| -TreeScope::TreeScope()
|
| - : m_rootNode(0)
|
| - , m_documentScope(0)
|
| - , m_parentTreeScope(0)
|
| - , m_guardRefCount(0)
|
| -{
|
| -}
|
| -
|
| TreeScope::~TreeScope()
|
| {
|
| ASSERT(!m_guardRefCount);
|
| @@ -114,12 +106,6 @@ void TreeScope::destroyTreeScopeData()
|
| m_labelsByForAttribute.clear();
|
| }
|
|
|
| -void TreeScope::clearDocumentScope()
|
| -{
|
| - ASSERT(rootNode()->isDocumentNode());
|
| - m_documentScope = 0;
|
| -}
|
| -
|
| void TreeScope::setParentTreeScope(TreeScope* newParentScope)
|
| {
|
| // A document node cannot be re-parented.
|
| @@ -513,8 +499,7 @@ void TreeScope::setNeedsStyleRecalcForViewportUnits()
|
|
|
| KURL TreeScope::completeURL(const String& url) const
|
| {
|
| - ASSERT(documentScope());
|
| - return documentScope()->completeURLWithOverride(url, baseURL());
|
| + return documentScope().completeURLWithOverride(url, baseURL());
|
| }
|
|
|
| } // namespace WebCore
|
|
|