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

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

Issue 7558014: Add a URL param to indicate group selection in Instant field trial. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Passing NULL as far as possible Created 9 years, 4 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 708ec27026092289cdecad44d3d00df873c7edc5..286305a6dcdc3e981aabd203eea0d5c2d623bcae 100644
--- a/chrome/browser/instant/instant_browsertest.cc
+++ b/chrome/browser/instant/instant_browsertest.cc
@@ -339,7 +339,7 @@ IN_PROC_BROWSER_TEST_F(InstantTest, OnChangeEvent) {
GetDefaultSearchProvider();
ASSERT_TRUE(default_turl);
ASSERT_TRUE(default_turl->url());
- EXPECT_EQ(default_turl->url()->ReplaceSearchTerms(
+ EXPECT_EQ(default_turl->url()->ReplaceSearchTerms(browser()->profile(),
Peter Kasting 2011/08/11 00:35:17 I tried to trace through the call chain (for GetCu
*default_turl, ASCIIToUTF16("defghi"), 0, string16()),
browser()->instant()->GetCurrentURL().spec());

Powered by Google App Engine
This is Rietveld 408576698