Chromium Code Reviews| Index: chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.mm |
| =================================================================== |
| --- chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.mm (revision 93757) |
| +++ chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.mm (working copy) |
| @@ -542,10 +542,8 @@ |
| // relevant match out to make sure it stays alive until the call |
| // completes. |
| AutocompleteMatch match = model_->result().match_at(row); |
| - string16 keyword; |
| - const bool is_keyword_hint = model_->GetKeywordForMatch(match, &keyword); |
| omnibox_view_->OpenMatch(match, disposition, GURL(), row, |
| - is_keyword_hint ? string16() : keyword); |
| + match.keyword); |
|
Peter Kasting
2011/07/27 20:18:25
Nit: Go ahead and indent even
|
| } |
| void OmniboxPopupViewMac::UserPressedOptIn(bool opt_in) { |