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

Unified Diff: chrome/browser/views/options/general_page_view.cc

Issue 113940: Make Textfield more portable.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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/views/options/cookies_view.cc ('k') | chrome/browser/views/shelf_item_dialog.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/options/general_page_view.cc
===================================================================
--- chrome/browser/views/options/general_page_view.cc (revision 17056)
+++ chrome/browser/views/options/general_page_view.cc (working copy)
@@ -570,7 +570,7 @@
} else if (sender == homepage_use_url_radio_) {
UserMetricsRecordAction(L"Options_Homepage_UseURL",
profile()->GetPrefs());
- SetHomepage(homepage_use_url_textfield_->GetText());
+ SetHomepage(homepage_use_url_textfield_->text());
EnableHomepageURLField(true);
} else if (sender == homepage_show_home_button_checkbox_) {
bool show_button = homepage_show_home_button_checkbox_->checked();
@@ -615,7 +615,7 @@
// through the fixer upper to allow input like "google.com" to be converted
// to something valid ("http://google.com").
std::wstring url_string = URLFixerUpper::FixupURL(
- homepage_use_url_textfield_->GetText(), std::wstring());
+ homepage_use_url_textfield_->text(), std::wstring());
if (GURL(url_string).is_valid())
SetHomepage(url_string);
}
« no previous file with comments | « chrome/browser/views/options/cookies_view.cc ('k') | chrome/browser/views/shelf_item_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698