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

Unified Diff: chrome/browser/ui/views/first_run_search_engine_view.cc

Issue 7717028: views: Remove NativeTextButton::SetLabel() and replace all call sites with SetText(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: also removes label() 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
« no previous file with comments | « chrome/browser/chromeos/login/new_user_view.cc ('k') | views/controls/button/checkbox.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/first_run_search_engine_view.cc
diff --git a/chrome/browser/ui/views/first_run_search_engine_view.cc b/chrome/browser/ui/views/first_run_search_engine_view.cc
index 8a97a61e153ae1aac2aba0b0995d5926d9b1fd5e..7163e679ab452070321f8a261da54c387be4722d 100644
--- a/chrome/browser/ui/views/first_run_search_engine_view.cc
+++ b/chrome/browser/ui/views/first_run_search_engine_view.cc
@@ -286,7 +286,7 @@ void FirstRunSearchEngineView::OnTemplateURLServiceChanged() {
for (it = search_engine_choices_.begin();
it != search_engine_choices_.end();
it++) {
- (*it)->SetLabel((*it)->GetSearchEngine()->short_name());
+ (*it)->SetText((*it)->GetSearchEngine()->short_name());
}
}
« no previous file with comments | « chrome/browser/chromeos/login/new_user_view.cc ('k') | views/controls/button/checkbox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698