| Index: third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp b/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
|
| index 652db6308f69ee7c7ef47fa086dec0d505cdf9c0..34fa2a07bb0cfceaac9855c0e7f7088669260956 100644
|
| --- a/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
|
| @@ -474,6 +474,11 @@ ExecutionContext* LocalDOMWindow::executionContext() const
|
| return m_document.get();
|
| }
|
|
|
| +const LocalDOMWindow* LocalDOMWindow::toDOMWindow() const
|
| +{
|
| + return this;
|
| +}
|
| +
|
| LocalDOMWindow* LocalDOMWindow::toDOMWindow()
|
| {
|
| return this;
|
| @@ -1434,7 +1439,7 @@ void LocalDOMWindow::finishedLoading()
|
| }
|
| }
|
|
|
| -void LocalDOMWindow::printErrorMessage(const String& message)
|
| +void LocalDOMWindow::printErrorMessage(const String& message) const
|
| {
|
| if (!isCurrentlyDisplayedInFrame())
|
| return;
|
|
|