Index: third_party/WebKit/Source/core/frame/FrameConsole.cpp |
diff --git a/third_party/WebKit/Source/core/frame/FrameConsole.cpp b/third_party/WebKit/Source/core/frame/FrameConsole.cpp |
index 113044b58cb9e17af4d3f1c8dec203ae21ad3799..2e2122284fce0f30aa5143722dc516d0c38e5478 100644 |
--- a/third_party/WebKit/Source/core/frame/FrameConsole.cpp |
+++ b/third_party/WebKit/Source/core/frame/FrameConsole.cpp |
@@ -86,7 +86,7 @@ void FrameConsole::reportMessageToClient(MessageSource source, |
String url = location->url(); |
String stackTrace; |
if (source == ConsoleAPIMessageSource) { |
- if (!m_frame->host()) |
+ if (!m_frame->page()) |
return; |
if (m_frame->chromeClient().shouldReportDetailedMessageForSource(*m_frame, |
url)) { |