Chromium Code Reviews| Index: chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc |
| =================================================================== |
| --- chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc (revision 93757) |
| +++ chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc (working copy) |
| @@ -476,10 +476,8 @@ |
| // extension, |match| and its contents. So copy the relevant match out to |
| // make sure it stays alive until the call completes. |
| AutocompleteMatch match = model_->result().match_at(line); |
| - string16 keyword; |
| - const bool is_keyword_hint = model_->GetKeywordForMatch(match, &keyword); |
| omnibox_view_->OpenMatch(match, disposition, GURL(), line, |
| - is_keyword_hint ? string16() : keyword); |
| + match.keyword); |
|
Peter Kasting
2011/07/27 20:18:25
Nit: Go ahead and indent even
|
| } |
| GdkPixbuf* OmniboxPopupViewGtk::IconForMatch(const AutocompleteMatch& match, |