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

Unified Diff: base/time.cc

Issue 21032: Tracking HWND creation/deletion (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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
« no previous file with comments | « base/stats_table.cc ('k') | base/win_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/time.cc
===================================================================
--- base/time.cc (revision 9111)
+++ base/time.cc (working copy)
@@ -4,6 +4,7 @@
#include "base/time.h"
#include "base/string_util.h"
+#include "base/sys_string_conversions.h"
#include "base/third_party/nspr/prtime.h"
#include "base/logging.h"
@@ -79,7 +80,7 @@
// static
bool Time::FromString(const wchar_t* time_string, Time* parsed_time) {
DCHECK((time_string != NULL) && (parsed_time != NULL));
- std::string ascii_time_string = WideToUTF8(time_string);
+ std::string ascii_time_string = SysWideToUTF8(time_string);
if (ascii_time_string.length() == 0)
return false;
PRTime result_time = 0;
« no previous file with comments | « base/stats_table.cc ('k') | base/win_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698