Chromium Code Reviews| Index: chrome/browser/ui/webui/omnibox/omnibox_ui_handler.cc |
| diff --git a/chrome/browser/ui/webui/omnibox/omnibox_ui_handler.cc b/chrome/browser/ui/webui/omnibox/omnibox_ui_handler.cc |
| index 7c43efba84d183db70c772981879d14203a7da13..87fb3f3208c689ebf46c722be078e3873cab52d6 100644 |
| --- a/chrome/browser/ui/webui/omnibox/omnibox_ui_handler.cc |
| +++ b/chrome/browser/ui/webui/omnibox/omnibox_ui_handler.cc |
| @@ -155,6 +155,7 @@ void OmniboxUIHandler::StartOmniboxQuery(const base::ListValue* input) { |
| return_val = input->GetBoolean(3, &prefer_keyword); |
| DCHECK(return_val); |
| string16 empty_string; |
| + GURL empty_url; |
|
Peter Kasting
2013/03/22 20:20:06
Nit: Let's nuke |empty_string| and |empty_url| and
beaudoin
2013/03/22 23:10:43
Done.
|
| // Reset the controller. If we don't do this, then the |
| // AutocompleteController might inappropriately set its |minimal_changes| |
| // variable (or something else) and some providers will short-circuit |
| @@ -166,6 +167,7 @@ void OmniboxUIHandler::StartOmniboxQuery(const base::ListValue* input) { |
| input_string, |
| cursor_position, |
| empty_string, // user's desired tld (top-level domain) |
| + empty_url, |
| prevent_inline_autocomplete, |
| prefer_keyword, |
| true, // allow exact keyword matches |