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

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

Issue 6192007: Remove wstring from views. Part 3: Switch accessibility strings to string16.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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/views/clear_browsing_data.cc
===================================================================
--- chrome/browser/ui/views/clear_browsing_data.cc (revision 71358)
+++ chrome/browser/ui/views/clear_browsing_data.cc (working copy)
@@ -135,7 +135,8 @@
time_period_combobox_->SetSelectedItem(profile_->GetPrefs()->GetInteger(
prefs::kDeleteTimePeriod));
time_period_combobox_->set_listener(this);
- time_period_combobox_->SetAccessibleName(time_period_label_->GetText());
+ time_period_combobox_->SetAccessibleName(
+ WideToUTF16Hack(time_period_label_->GetText()));
AddChildView(time_period_combobox_);
// Create the throbber and related views. The throbber and status link are
« no previous file with comments | « chrome/browser/ui/views/browser_actions_container.cc ('k') | chrome/browser/ui/views/clear_browsing_data_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698