Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(116)

Unified Diff: third_party/WebKit/Source/core/frame/FrameConsole.cpp

Issue 2769263004: Remove Frame::host() method (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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)) {

Powered by Google App Engine
This is Rietveld 408576698