diff options
author | shinyak@google.com <shinyak@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-26 18:17:03 +0000 |
---|---|---|
committer | shinyak@google.com <shinyak@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-26 18:17:03 +0000 |
commit | 5086cfc86ff0050abbf63972bd70cbc48d5e7f57 (patch) | |
tree | 98855082b195a1a0648475a57d7ba3778ff14f20 /chrome/common/metrics_helpers.cc | |
parent | a60865a91102be0b19d826fb9d26f0bc98066ca6 (diff) | |
download | chromium_src-5086cfc86ff0050abbf63972bd70cbc48d5e7f57.zip chromium_src-5086cfc86ff0050abbf63972bd70cbc48d5e7f57.tar.gz chromium_src-5086cfc86ff0050abbf63972bd70cbc48d5e7f57.tar.bz2 |
Removed wchar_t from Time::FromString.
Also, some of the test case are moved from pr_time_unittests to time_unittests.
BUG=77962
TEST=base_unittests:TimeTest.*
Review URL: http://codereview.chromium.org/6903022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83048 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/metrics_helpers.cc')
-rw-r--r-- | chrome/common/metrics_helpers.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/common/metrics_helpers.cc b/chrome/common/metrics_helpers.cc index 55c28bd..dde9859 100644 --- a/chrome/common/metrics_helpers.cc +++ b/chrome/common/metrics_helpers.cc @@ -372,7 +372,7 @@ int64 MetricsLogBase::GetBuildTime() { if (!integral_build_time) { Time time; const char* kDateTime = __DATE__ " " __TIME__ " GMT"; - bool result = Time::FromString(ASCIIToWide(kDateTime).c_str(), &time); + bool result = Time::FromString(kDateTime, &time); DCHECK(result); integral_build_time = static_cast<int64>(time.ToTimeT()); } |