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

Unified Diff: Source/WebCore/rendering/RenderSearchField.cpp

Issue 13861033: Remove Apple's unused implementation of private browsing from WebCore (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Repatch to ToT 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/plugins/PluginViewBase.h ('k') | Source/WebCore/storage/StorageAreaImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/rendering/RenderSearchField.cpp
diff --git a/Source/WebCore/rendering/RenderSearchField.cpp b/Source/WebCore/rendering/RenderSearchField.cpp
index ca0228c6d1b9c3a945c0e0eb1f05ac13580b0ecb..300c2ad5dd7ee1dabdb43cf59e1424dd25a9658e 100644
--- a/Source/WebCore/rendering/RenderSearchField.cpp
+++ b/Source/WebCore/rendering/RenderSearchField.cpp
@@ -91,10 +91,6 @@ void RenderSearchField::addSearchResult()
if (value.isEmpty())
return;
- Settings* settings = document()->settings();
- if (!settings || settings->privateBrowsingEnabled())
- return;
-
int size = static_cast<int>(m_recentSearches.size());
for (int i = size - 1; i >= 0; --i) {
if (m_recentSearches[i] == value)
« no previous file with comments | « Source/WebCore/plugins/PluginViewBase.h ('k') | Source/WebCore/storage/StorageAreaImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698