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

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

Issue 2732113004: Remove FrameHost::consoleMessageStorage() methods (Closed)
Patch Set: Rebase 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/FrameHost.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2c02a9a472f0c7c56746c6478ddc82fb415a8782..113044b58cb9e17af4d3f1c8dec203ae21ad3799 100644
--- a/third_party/WebKit/Source/core/frame/FrameConsole.cpp
+++ b/third_party/WebKit/Source/core/frame/FrameConsole.cpp
@@ -69,9 +69,9 @@ void FrameConsole::addMessage(ConsoleMessage* consoleMessage) {
}
bool FrameConsole::addMessageToStorage(ConsoleMessage* consoleMessage) {
- if (!m_frame->document() || !m_frame->host())
+ if (!m_frame->document() || !m_frame->page())
return false;
- m_frame->host()->consoleMessageStorage().addConsoleMessage(
+ m_frame->page()->consoleMessageStorage().addConsoleMessage(
m_frame->document(), consoleMessage);
return true;
}
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/FrameHost.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698