| 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 af301fb4901b9ce789f833b380538661d912c71a..b6647a103111389b95e1454f3c5646e4d86fae4b 100644
|
| --- a/third_party/WebKit/Source/core/dom/Document.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Document.cpp
|
| @@ -2909,6 +2909,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;
|
|
|