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

Unified Diff: Source/core/frame/LocalDOMWindow.cpp

Issue 309063005: Don't attempt to print an error message if there is no console. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: remove a different check Created 6 years, 6 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 | « LayoutTests/http/tests/loading/navigate-detached-frame-window-does-not-crash-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/LocalDOMWindow.cpp
diff --git a/Source/core/frame/LocalDOMWindow.cpp b/Source/core/frame/LocalDOMWindow.cpp
index d79c1e87bbf42493003ab21c7e08523183198156..b708a4d9407d4d2122fcafbe4846a936fd77a3a7 100644
--- a/Source/core/frame/LocalDOMWindow.cpp
+++ b/Source/core/frame/LocalDOMWindow.cpp
@@ -695,8 +695,6 @@ Console& LocalDOMWindow::console() const
FrameConsole* LocalDOMWindow::frameConsole() const
{
- if (!isCurrentlyDisplayedInFrame())
- return 0;
return &m_frame->console();
}
« no previous file with comments | « LayoutTests/http/tests/loading/navigate-detached-frame-window-does-not-crash-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698