Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1260)

Unified Diff: chrome/browser/ui/views/omnibox/omnibox_view_views.cc

Issue 9570064: Fix keyword search erroneously not triggering in two obscure cases: (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/omnibox/omnibox_view_views.cc
===================================================================
--- chrome/browser/ui/views/omnibox/omnibox_view_views.cc (revision 124492)
+++ chrome/browser/ui/views/omnibox/omnibox_view_views.cc (working copy)
@@ -594,8 +594,9 @@
(new_sel.start() <= sel_before_change_.GetMin());
const bool something_changed = model_->OnAfterPossibleChange(
- new_text, new_sel.start(), new_sel.end(), selection_differs,
- text_changed, just_deleted_text, !textfield_->IsIMEComposing());
+ text_before_change_, new_text, new_sel.start(), new_sel.end(),
+ selection_differs, text_changed, just_deleted_text,
+ !textfield_->IsIMEComposing());
// If only selection was changed, we don't need to call |model_|'s
// OnChanged() method, which is called in TextChanged().
« no previous file with comments | « chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ('k') | chrome/browser/ui/views/omnibox/omnibox_view_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698