Index: Source/core/xml/XMLTreeViewer.cpp |
diff --git a/Source/core/xml/XMLTreeViewer.cpp b/Source/core/xml/XMLTreeViewer.cpp |
index 4c9109b8c947db72d27075b3c0c61bdc0dab3b57..c8ce86e0bdee3e895b030950d8baa38d1b45446d 100644 |
--- a/Source/core/xml/XMLTreeViewer.cpp |
+++ b/Source/core/xml/XMLTreeViewer.cpp |
@@ -48,20 +48,6 @@ XMLTreeViewer::XMLTreeViewer(Document* document) |
{ |
} |
-bool XMLTreeViewer::hasNoStyleInformation() const |
-{ |
- if (m_document->sawElementsInKnownNamespaces() || m_document->transformSourceDocument()) |
- return false; |
- |
- if (!m_document->frame() || !m_document->frame()->page()) |
- return false; |
- |
- if (m_document->frame()->tree()->parent()) |
- return false; // This document is not in a top frame |
- |
- return true; |
-} |
- |
void XMLTreeViewer::transformDocumentToTreeView() |
{ |
m_document->setIsViewSource(true); |