summaryrefslogtreecommitdiffstats
path: root/printing
diff options
context:
space:
mode:
authoravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-22 15:08:08 +0000
committeravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-22 15:08:08 +0000
commit1b6dc3e04f3438ab25faff315890bc82e82a262a (patch)
treec1528eda75d2bfa70ae68d111b65d38920085c15 /printing
parentb81af210441caf958d664a7abc62050f009e464e (diff)
downloadchromium_src-1b6dc3e04f3438ab25faff315890bc82e82a262a.zip
chromium_src-1b6dc3e04f3438ab25faff315890bc82e82a262a.tar.gz
chromium_src-1b6dc3e04f3438ab25faff315890bc82e82a262a.tar.bz2
Update the time formatting APIs to use string16.
BUG=23581 TEST=everything still works Review URL: http://codereview.chromium.org/6064003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69948 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing')
-rw-r--r--printing/printed_document_posix.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/printing/printed_document_posix.cc b/printing/printed_document_posix.cc
index 9a37f2c..33c0264 100644
--- a/printing/printed_document_posix.cc
+++ b/printing/printed_document_posix.cc
@@ -14,8 +14,8 @@ namespace printing {
void PrintedDocument::Immutable::SetDocumentDate() {
Time now = Time::Now();
- date_ = WideToUTF16Hack(base::TimeFormatShortDateNumeric(now));
- time_ = WideToUTF16Hack(base::TimeFormatTimeOfDay(now));
+ date_ = base::TimeFormatShortDateNumeric(now);
+ time_ = base::TimeFormatTimeOfDay(now);
}
} // namespace printing