Index: Source/core/dom/Element.cpp |
diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp |
index ddee2df92be60fbc5fc8bbdf42b2c34de427e6f0..dbc0e659592b75c9688265df5fb185d0d836d5ca 100644 |
--- a/Source/core/dom/Element.cpp |
+++ b/Source/core/dom/Element.cpp |
@@ -1354,27 +1354,6 @@ const AtomicString& Element::locateNamespacePrefix(const AtomicString& namespace |
return nullAtom; |
} |
-KURL Element::baseURI() const |
-{ |
- const AtomicString& baseAttribute = fastGetAttribute(baseAttr); |
- if (!baseAttribute.isEmpty()) |
- UseCounter::count(document(), UseCounter::ElementBaseURIFromXMLBase); |
- |
- KURL base(KURL(), baseAttribute); |
- if (!base.protocol().isEmpty()) |
- return base; |
- |
- ContainerNode* parent = parentNode(); |
- if (!parent) |
- return base; |
- |
- const KURL& parentBase = parent->baseURI(); |
- if (parentBase.isNull()) |
- return base; |
- |
- return KURL(parentBase, baseAttribute); |
-} |
- |
const AtomicString Element::imageSourceURL() const |
{ |
return getAttribute(srcAttr); |