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

Unified Diff: chrome/browser/ui/views/omnibox/omnibox_view_win.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
« no previous file with comments | « chrome/browser/ui/views/omnibox/omnibox_view_views.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/omnibox/omnibox_view_win.cc
===================================================================
--- chrome/browser/ui/views/omnibox/omnibox_view_win.cc (revision 124492)
+++ chrome/browser/ui/views/omnibox/omnibox_view_win.cc (working copy)
@@ -915,8 +915,8 @@
sel_before_change_.cpMax));
const bool something_changed = model_->OnAfterPossibleChange(
- new_text, new_sel.cpMin, new_sel.cpMax, selection_differs,
- text_differs, just_deleted_text, !IsImeComposing());
+ text_before_change_, new_text, new_sel.cpMin, new_sel.cpMax,
+ selection_differs, text_differs, just_deleted_text, !IsImeComposing());
if (selection_differs)
controller_->OnSelectionBoundsChanged();
« no previous file with comments | « chrome/browser/ui/views/omnibox/omnibox_view_views.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698