Index: Source/core/dom/Document.cpp |
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp |
index 9dbf090293708e393e4934f0511144bbf3b265c0..9e529ebe751b67f64ce4cd72750054e95ae2f285 100644 |
--- a/Source/core/dom/Document.cpp |
+++ b/Source/core/dom/Document.cpp |
@@ -487,17 +487,6 @@ Document::Document(const DocumentInit& initializer, DocumentClassFlags documentC |
m_lifecyle.advanceTo(DocumentLifecycle::Inactive); |
} |
-static bool isAttributeOnAllOwners(const WebCore::QualifiedName& attribute, const WebCore::QualifiedName& prefixedAttribute, const HTMLFrameOwnerElement* owner) |
-{ |
- if (!owner) |
- return true; |
- do { |
- if (!(owner->hasAttribute(attribute) || owner->hasAttribute(prefixedAttribute))) |
- return false; |
- } while ((owner = owner->document().ownerElement())); |
- return true; |
-} |
- |
Document::~Document() |
{ |
ASSERT(!renderer()); |