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

Unified Diff: chrome/browser/ui/search_engines/template_url_fetcher_ui_callbacks.cc

Issue 8221027: Make views::Label and views::Link auto-color themselves to be readable over their background colo... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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/search_engines/template_url_fetcher_ui_callbacks.cc
===================================================================
--- chrome/browser/ui/search_engines/template_url_fetcher_ui_callbacks.cc (revision 104769)
+++ chrome/browser/ui/search_engines/template_url_fetcher_ui_callbacks.cc (working copy)
@@ -28,15 +28,13 @@
void TemplateURLFetcherUICallbacks::ConfirmSetDefaultSearchProvider(
TemplateURL* template_url,
- TemplateURLService* template_url_service) {
+ Profile* profile) {
scoped_ptr<TemplateURL> owned_template_url(template_url);
if (!source_ || !source_->delegate() || !tab_contents_)
return;
- source_->delegate()->ConfirmSetDefaultSearchProvider(
- tab_contents_,
- owned_template_url.release(),
- template_url_service);
+ source_->delegate()->ConfirmSetDefaultSearchProvider(tab_contents_,
+ owned_template_url.release(), profile);
}
void TemplateURLFetcherUICallbacks::ConfirmAddSearchProvider(

Powered by Google App Engine
This is Rietveld 408576698