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

Unified Diff: chrome/browser/host_content_settings_map.cc

Issue 1084005: Add GeolocationContentSettingsMap, a geolocation-specific variant of HostCont... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 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
Index: chrome/browser/host_content_settings_map.cc
===================================================================
--- chrome/browser/host_content_settings_map.cc (revision 41987)
+++ chrome/browser/host_content_settings_map.cc (working copy)
@@ -352,7 +352,7 @@
DCHECK(found);
for (size_t type = 0; type < arraysize(kTypeNames); ++type) {
if (std::wstring(kTypeNames[type]) == content_type) {
- settings->settings[type] = static_cast<ContentSetting>(setting);
+ settings->settings[type] = IntToContentSetting(setting);
break;
}
}

Powered by Google App Engine
This is Rietveld 408576698