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

Unified Diff: Source/WebCore/page/Console.cpp

Issue 14142009: Remove Apple's unused implementation of private browsing from WebCore (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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 | « Source/WebCore/loader/icon/IconDatabaseBase.h ('k') | Source/WebCore/page/Page.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/page/Console.cpp
diff --git a/Source/WebCore/page/Console.cpp b/Source/WebCore/page/Console.cpp
index 3e4b476bf29f57a2c04bd8fa7b84f9119b5ea8f3..db9df29cd8c90c4abf437911967fdf546f434ba2 100644
--- a/Source/WebCore/page/Console.cpp
+++ b/Source/WebCore/page/Console.cpp
@@ -88,9 +88,6 @@ static void internalAddMessage(Page* page, MessageType type, MessageLevel level,
bool gotMessage = arguments->getFirstArgumentAsString(message);
InspectorInstrumentation::addMessageToConsole(page, ConsoleAPIMessageSource, type, level, message, state, arguments);
- if (page->settings()->privateBrowsingEnabled())
- return;
-
if (gotMessage)
page->chrome()->client()->addMessageToConsole(ConsoleAPIMessageSource, type, level, message, lastCaller.lineNumber(), lastCaller.sourceURL());
}
« no previous file with comments | « Source/WebCore/loader/icon/IconDatabaseBase.h ('k') | Source/WebCore/page/Page.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698