| 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 014b461bf5e84eba8fe8303a4894498fbe15a2b3..75d3cb9f2318aa58b2883abf8c44251eed6a86f8 100644
|
| --- a/third_party/WebKit/Source/core/dom/Document.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Document.cpp
|
| @@ -2933,6 +2933,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;
|
|
|