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

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

Issue 14089003: Remove storageBlockingPolicy (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/page/Settings.h ('k') | Source/WebCore/plugins/PluginViewBase.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/page/Settings.cpp
diff --git a/Source/WebCore/page/Settings.cpp b/Source/WebCore/page/Settings.cpp
index a4e181e382dd8c625c6621fc83e4fba4c22d3097..35861d98c2999d5ca155312a8733d27acea7ab9f 100644
--- a/Source/WebCore/page/Settings.cpp
+++ b/Source/WebCore/page/Settings.cpp
@@ -133,7 +133,6 @@ static const bool defaultSelectTrailingWhitespaceEnabled = false;
Settings::Settings(Page* page)
: m_page(0)
, m_mediaTypeOverride("screen")
- , m_storageBlockingPolicy(SecurityOrigin::AllowAllStorage)
, m_textAutosizingFontScaleFactor(1)
#if HACK_FORCE_TEXT_AUTOSIZING_ON_DESKTOP
, m_textAutosizingWindowSizeOverride(320, 480)
@@ -444,15 +443,6 @@ void Settings::setDNSPrefetchingEnabled(bool dnsPrefetchingEnabled)
m_page->dnsPrefetchingStateChanged();
}
-void Settings::setStorageBlockingPolicy(SecurityOrigin::StorageBlockingPolicy enabled)
-{
- if (m_storageBlockingPolicy == enabled)
- return;
-
- m_storageBlockingPolicy = enabled;
- m_page->storageBlockingStateChanged();
-}
-
void Settings::setMockScrollbarsEnabled(bool flag)
{
gMockScrollbarsEnabled = flag;
« no previous file with comments | « Source/WebCore/page/Settings.h ('k') | Source/WebCore/plugins/PluginViewBase.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698