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

Unified Diff: chrome/browser/instant/instant_browsertest.cc

Issue 10810062: Moving common code into OmniboxView from OmniboxView* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More win fixes Created 8 years, 5 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/instant/instant_browsertest.cc
diff --git a/chrome/browser/instant/instant_browsertest.cc b/chrome/browser/instant/instant_browsertest.cc
index 334eb77f006ae699a1ca0faba12c1077bffaae6b..cfd5d2ca4539abf37bcbb22b8bc9a7fe0c0a12a6 100644
--- a/chrome/browser/instant/instant_browsertest.cc
+++ b/chrome/browser/instant/instant_browsertest.cc
@@ -459,7 +459,7 @@ IN_PROC_BROWSER_TEST_F(InstantTest, MAYBE(InstantCompleteNever)) {
EXPECT_EQ("defg", GetSuggestion());
EXPECT_EQ(INSTANT_COMPLETE_NEVER,
- omnibox()->model()->instant_complete_behavior());
+ omnibox()->GetModel()->instant_complete_behavior());
EXPECT_EQ("def", UTF16ToUTF8(omnibox()->GetText()));
}
@@ -475,7 +475,7 @@ IN_PROC_BROWSER_TEST_F(InstantTest, MAYBE(InstantCompleteDelayed)) {
EXPECT_EQ("defg", GetSuggestion());
EXPECT_EQ(INSTANT_COMPLETE_DELAYED,
- omnibox()->model()->instant_complete_behavior());
+ omnibox()->GetModel()->instant_complete_behavior());
EXPECT_EQ("def", UTF16ToUTF8(omnibox()->GetText()));
}
@@ -491,7 +491,7 @@ IN_PROC_BROWSER_TEST_F(InstantTest, MAYBE(InstantCompleteNow)) {
EXPECT_EQ("defg", GetSuggestion());
EXPECT_EQ(INSTANT_COMPLETE_NOW,
- omnibox()->model()->instant_complete_behavior());
+ omnibox()->GetModel()->instant_complete_behavior());
EXPECT_EQ("defg", UTF16ToUTF8(omnibox()->GetText()));
}

Powered by Google App Engine
This is Rietveld 408576698