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

Unified Diff: chrome/browser/autocomplete/history_quick_provider_unittest.cc

Issue 11414303: Make Google Search autocomplete provider cursor aware. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 8 years 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/autocomplete/history_quick_provider_unittest.cc
diff --git a/chrome/browser/autocomplete/history_quick_provider_unittest.cc b/chrome/browser/autocomplete/history_quick_provider_unittest.cc
index 15614ac98034571a490bccc3175167e57a64da41..0edbbfaac945a36c46c9e67b230fb8463cd12296 100644
--- a/chrome/browser/autocomplete/history_quick_provider_unittest.cc
+++ b/chrome/browser/autocomplete/history_quick_provider_unittest.cc
@@ -215,7 +215,7 @@ void HistoryQuickProviderTest::RunTest(const string16 text,
string16 expected_fill_into_edit) {
SCOPED_TRACE(text); // Minimal hint to query being run.
MessageLoop::current()->RunUntilIdle();
- AutocompleteInput input(text, string16(), false, false, true,
+ AutocompleteInput input(text, string16::npos, string16(), false, false, true,
AutocompleteInput::ALL_MATCHES);
provider_->Start(input, false);
EXPECT_TRUE(provider_->done());

Powered by Google App Engine
This is Rietveld 408576698