Index: chrome/browser/content_settings/host_content_settings_map.cc |
diff --git a/chrome/browser/content_settings/host_content_settings_map.cc b/chrome/browser/content_settings/host_content_settings_map.cc |
index e73553a625c0a7feadf55263e98b8eed1425b418..ac06aab1ee3001df43aa5833cee0860022fc1a86 100644 |
--- a/chrome/browser/content_settings/host_content_settings_map.cc |
+++ b/chrome/browser/content_settings/host_content_settings_map.cc |
@@ -330,9 +330,7 @@ bool HostContentSettingsMap::IsSettingAllowedForType( |
case CONTENT_SETTINGS_TYPE_COOKIES: |
return setting == CONTENT_SETTING_SESSION_ONLY; |
case CONTENT_SETTINGS_TYPE_PLUGINS: |
- return setting == CONTENT_SETTING_ASK && |
- CommandLine::ForCurrentProcess()->HasSwitch( |
- switches::kEnableClickToPlay); |
+ return setting == CONTENT_SETTING_ASK; |
Peter Kasting
2012/01/30 20:35:22
Nit: Just remove this line and group with the 4 be
Bernhard Bauer
2012/01/30 20:56:47
Done.
|
case CONTENT_SETTINGS_TYPE_GEOLOCATION: |
case CONTENT_SETTINGS_TYPE_NOTIFICATIONS: |
case CONTENT_SETTINGS_TYPE_INTENTS: |