Index: chrome/browser/ui/browser_commands.cc |
diff --git a/chrome/browser/ui/browser_commands.cc b/chrome/browser/ui/browser_commands.cc |
index 423efc915ea14d1bdfdb860592384f17b6eef198..8a94a3ba4b2342b4c89e56c0452630590838622d 100644 |
--- a/chrome/browser/ui/browser_commands.cc |
+++ b/chrome/browser/ui/browser_commands.cc |
@@ -640,18 +640,8 @@ void ShowPageInfo(Browser* browser, |
web_contents->GetBrowserContext()); |
TabContents* tab_contents = TabContents::FromWebContents(web_contents); |
-#if defined(OS_WIN) |
- bool website_settings_enabled = true; |
- if (CommandLine::ForCurrentProcess()->HasSwitch( |
- switches::kDisableWebsiteSettings)) |
- website_settings_enabled = false; |
-#else |
- bool website_settings_enabled = false; |
if (CommandLine::ForCurrentProcess()->HasSwitch( |
- switches::kEnableWebsiteSettings)) |
- website_settings_enabled = true; |
-#endif |
- if (website_settings_enabled) { |
+ switches::kEnableWebsiteSettings)) { |
browser->window()->ShowWebsiteSettings( |
profile, tab_contents, url, ssl, show_history); |
} else { |