summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/status/clock_menu_button.cc
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-15 18:01:01 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-15 18:01:01 +0000
commit8d37b11e3db0bf4ef7bfb76ae0148d2420eb7cd4 (patch)
tree2340c444189431df19b1685ecf9ecbe21efc5fb1 /chrome/browser/chromeos/status/clock_menu_button.cc
parent6417f0b7a24856edba82bd8385a55e940af875c9 (diff)
downloadchromium_src-8d37b11e3db0bf4ef7bfb76ae0148d2420eb7cd4.zip
chromium_src-8d37b11e3db0bf4ef7bfb76ae0148d2420eb7cd4.tar.gz
chromium_src-8d37b11e3db0bf4ef7bfb76ae0148d2420eb7cd4.tar.bz2
wstring: remove wstrings from all tooltip-related code
This is a nearly-mechanical translation of wstring to string16. Removes a *ton* of string conversions. Review URL: http://codereview.chromium.org/7886023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101329 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/status/clock_menu_button.cc')
-rw-r--r--chrome/browser/chromeos/status/clock_menu_button.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/chromeos/status/clock_menu_button.cc b/chrome/browser/chromeos/status/clock_menu_button.cc
index 94f309c..dd3f3cf 100644
--- a/chrome/browser/chromeos/status/clock_menu_button.cc
+++ b/chrome/browser/chromeos/status/clock_menu_button.cc
@@ -95,7 +95,7 @@ void ClockMenuButton::UpdateText() {
time,
use_24hour_clock ? base::k24HourClock : base::k12HourClock,
base::kDropAmPm)));
- SetTooltipText(UTF16ToWide(base::TimeFormatFriendlyDateAndTime(time)));
+ SetTooltipText(base::TimeFormatFriendlyDateAndTime(time));
SetAccessibleName(base::TimeFormatFriendlyDateAndTime(time));
SchedulePaint();
}