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

Unified Diff: chrome/browser/search_engines/search_provider_install_data.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/search_engines/search_provider_install_data.cc
diff --git a/chrome/browser/search_engines/search_provider_install_data.cc b/chrome/browser/search_engines/search_provider_install_data.cc
index 4f9994ecd1ed71dc63e60ff29a7d7e21ef2ae542..225f05933e848fc9adf69654e6b3ea387c2155c0 100644
--- a/chrome/browser/search_engines/search_provider_install_data.cc
+++ b/chrome/browser/search_engines/search_provider_install_data.cc
@@ -138,7 +138,7 @@ void GoogleURLObserver::Observe(int type,
BrowserThread::PostTask(BrowserThread::IO, FROM_HERE,
NewRunnableMethod(change_notifier_.get(),
&GoogleURLChangeNotifier::OnChange,
- UIThreadSearchTermsData().GoogleBaseURLValue()));
+ UIThreadSearchTermsData(NULL).GoogleBaseURLValue()));
} else {
// This must be the death notification.
delete this;
@@ -166,7 +166,7 @@ SearchProviderInstallData::SearchProviderInstallData(
const NotificationSource& ui_death_source)
: web_service_(web_service),
load_handle_(0),
- google_base_url_(UIThreadSearchTermsData().GoogleBaseURLValue()) {
+ google_base_url_(UIThreadSearchTermsData(NULL).GoogleBaseURLValue()) {
// GoogleURLObserver is responsible for killing itself when
// the given notification occurs.
new GoogleURLObserver(new GoogleURLChangeNotifier(AsWeakPtr()),

Powered by Google App Engine
This is Rietveld 408576698