summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authorshinyak@google.com <shinyak@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-03 05:28:10 +0000
committershinyak@google.com <shinyak@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-03 05:28:10 +0000
commit46470aab29e72565ff358331094402b68d053e30 (patch)
tree4f70762af8aadd3673aa2cb61adc433721900388 /chrome/common
parent4e7c71a026ec06c9a4210e84680fc368e1b2f168 (diff)
downloadchromium_src-46470aab29e72565ff358331094402b68d053e30.zip
chromium_src-46470aab29e72565ff358331094402b68d053e30.tar.gz
chromium_src-46470aab29e72565ff358331094402b68d053e30.tar.bz2
Removed wchat_t from Time::FromString.
Also, some of the test case are moved for pr_time_unittests to time_unittests. BUG=77962 TEST=base_unittests:TimeTest.* Review URL: http://codereview.chromium.org/7492063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95207 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/metrics_helpers.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/common/metrics_helpers.cc b/chrome/common/metrics_helpers.cc
index 0441862..028d0b3 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());
}