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

Unified Diff: printing/printed_document_posix.cc

Issue 6064003: Update the time formatting APIs to use string16.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years 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: printing/printed_document_posix.cc
===================================================================
--- printing/printed_document_posix.cc (revision 69833)
+++ printing/printed_document_posix.cc (working copy)
@@ -14,8 +14,8 @@
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

Powered by Google App Engine
This is Rietveld 408576698