Index: chrome/browser/browser_init.cc |
diff --git a/chrome/browser/browser_init.cc b/chrome/browser/browser_init.cc |
index 536e808ffa4c4ef96b42376a7cc3ebe97b9a5926..e20dfa2aa038f7eb801711e37ea73c59fb70cb8e 100644 |
--- a/chrome/browser/browser_init.cc |
+++ b/chrome/browser/browser_init.cc |
@@ -898,17 +898,6 @@ bool BrowserInit::ProcessCmdLineImpl(const CommandLine& command_line, |
BrowserInit* browser_init) { |
DCHECK(profile); |
if (process_startup) { |
- const std::string popup_count_string = |
- command_line.GetSwitchValueASCII(switches::kOmniBoxPopupCount); |
- if (!popup_count_string.empty()) { |
- int count = 0; |
- if (StringToInt(popup_count_string, &count)) { |
- const int popup_count = std::max(0, count); |
- AutocompleteResult::set_max_matches(popup_count); |
- AutocompleteProvider::set_max_matches(popup_count / 2); |
- } |
- } |
- |
if (command_line.HasSwitch(switches::kDisablePromptOnRepost)) |
NavigationController::DisablePromptOnRepost(); |