Index: third_party/WebKit/Source/core/dom/Document.cpp |
diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp |
index 9b9530c9fb11743833c3ca066687a878f55791f0..fe3c1d9fb34609581023194192b1461183e2faf7 100644 |
--- a/third_party/WebKit/Source/core/dom/Document.cpp |
+++ b/third_party/WebKit/Source/core/dom/Document.cpp |
@@ -2908,6 +2908,14 @@ void Document::setURL(const KURL& url) |
contextFeatures().urlDidChange(this); |
} |
+KURL Document::validBaseElementURL() const |
+{ |
+ if (m_baseElementURL.isValid()) |
+ return m_baseElementURL; |
+ |
+ return KURL(); |
+} |
+ |
void Document::updateBaseURL() |
{ |
KURL oldBaseURL = m_baseURL; |