From 52a261f59b20e89f8c5936bce642362f8e367b57 Mon Sep 17 00:00:00 2001 From: "maruel@chromium.org" Date: Tue, 3 Mar 2009 15:01:12 +0000 Subject: NO CODE CHANGE (except one global std::wstring changed to const wchar_t* const per style compliance). Preliminary work to enforce new PRESUBMIT.py rules: - <=80 cols - no trailing whitespaces - svn:eol-style=LF git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10791 0039d316-1c4b-4281-b951-d872f2087c98 --- base/time_mac.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'base/time_mac.cc') diff --git a/base/time_mac.cc b/base/time_mac.cc index 7f17c52..e5391be 100644 --- a/base/time_mac.cc +++ b/base/time_mac.cc @@ -62,11 +62,11 @@ void Time::Explode(bool is_local, Exploded* exploded) const { CFAbsoluteTime seconds = (static_cast(us_) / kMicrosecondsPerSecond) - kCFAbsoluteTimeIntervalSince1970; - + scoped_cftyperef time_zone(is_local ? CFTimeZoneCopySystem() : NULL); CFGregorianDate date = CFAbsoluteTimeGetGregorianDate(seconds, time_zone); - + exploded->year = date.year; exploded->month = date.month; exploded->day_of_month = date.day; -- cgit v1.1