| Index: third_party/WebKit/Source/core/frame/LocalFrame.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/LocalFrame.cpp b/third_party/WebKit/Source/core/frame/LocalFrame.cpp
|
| index 7f727395b15fa60c820522bad6242133aad68dfc..8037a55166c158ca9c4999d6075017b2d70f9e50 100644
|
| --- a/third_party/WebKit/Source/core/frame/LocalFrame.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/LocalFrame.cpp
|
| @@ -55,6 +55,7 @@
|
| #include "core/html/HTMLFrameElementBase.h"
|
| #include "core/html/HTMLPlugInElement.h"
|
| #include "core/input/EventHandler.h"
|
| +#include "core/inspector/ConsoleMessage.h"
|
| #include "core/inspector/InspectorInstrumentation.h"
|
| #include "core/layout/HitTestResult.h"
|
| #include "core/layout/LayoutView.h"
|
| @@ -478,6 +479,11 @@ void LocalFrame::printNavigationErrorMessage(const Frame& targetFrame,
|
| domWindow()->printErrorMessage(message);
|
| }
|
|
|
| +void LocalFrame::printNavigationWarning(const String& message) {
|
| + m_console->addMessage(
|
| + ConsoleMessage::create(JSMessageSource, WarningMessageLevel, message));
|
| +}
|
| +
|
| WindowProxyManager* LocalFrame::getWindowProxyManager() const {
|
| return m_script->getWindowProxyManager();
|
| }
|
|
|