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

Unified Diff: chrome/browser/ui/cocoa/browser/edit_search_engine_cocoa_controller_unittest.mm

Issue 10173001: Add a Profile* member to TemplateURL. This makes some invocations of ReplaceSearchTerms() a bit le… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 8 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/cocoa/browser/edit_search_engine_cocoa_controller_unittest.mm
===================================================================
--- chrome/browser/ui/cocoa/browser/edit_search_engine_cocoa_controller_unittest.mm (revision 132905)
+++ chrome/browser/ui/cocoa/browser/edit_search_engine_cocoa_controller_unittest.mm (working copy)
@@ -212,7 +212,7 @@
std::string urlString = TemplateURLRef::DisplayURLToURLRef(
ASCIIToUTF16("http://foo-bar.com"));
data.SetURL(urlString);
- TemplateURL url(data);
+ TemplateURL url(profile(), data);
FakeEditSearchEngineController *controller =
[[FakeEditSearchEngineController alloc] initWithProfile:profile()
delegate:nil

Powered by Google App Engine
This is Rietveld 408576698