Chromium Code Reviews| Index: chrome/browser/autocomplete/autocomplete_edit.cc |
| diff --git a/chrome/browser/autocomplete/autocomplete_edit.cc b/chrome/browser/autocomplete/autocomplete_edit.cc |
| index 58ea5633f4db152409db3385713857c0abc1c65c..b807ba42f6f0ea8d5f07618b959d816a471490ee 100644 |
| --- a/chrome/browser/autocomplete/autocomplete_edit.cc |
| +++ b/chrome/browser/autocomplete/autocomplete_edit.cc |
| @@ -901,7 +901,8 @@ void AutocompleteEditModel::PopupBoundsChangedTo(const gfx::Rect& bounds) { |
| void AutocompleteEditModel::OnResultChanged(bool default_match_changed) { |
| const bool was_open = popup_->IsOpen(); |
| - if (default_match_changed) { |
| + // TODO(msw): Run this in all cases, or fixup default_match_changed? |
|
Peter Kasting
2012/05/04 00:11:33
Shouldn't need to touch this, I wouldn't think.
msw
2012/05/04 09:43:40
Reverted.
|
| + static bool msw = true; if (msw || default_match_changed) { |
| string16 inline_autocomplete_text; |
| string16 keyword; |
| bool is_keyword_hint = false; |