diff options
author | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-22 15:08:08 +0000 |
---|---|---|
committer | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-22 15:08:08 +0000 |
commit | 1b6dc3e04f3438ab25faff315890bc82e82a262a (patch) | |
tree | c1528eda75d2bfa70ae68d111b65d38920085c15 /printing | |
parent | b81af210441caf958d664a7abc62050f009e464e (diff) | |
download | chromium_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.cc | 4 |
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 |