Skip to content
Snippets Groups Projects
Commit ee5feb9f authored by mark@chromium.org's avatar mark@chromium.org
Browse files

Put the parentheses back where they belong in time_mac.cc. This will allow

Aaron's new test in http://codereview.chromium.org/4471001 to pass.

BUG=49233
TEST=base_unittests Time.FromExplodedWithMilliseconds from
     http://codereview.chromium.org/4471001
Review URL: http://codereview.chromium.org/5042001

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66174 0039d316-1c4b-4281-b951-d872f2087c98
parent 9216e75e
No related branches found
No related tags found
No related merge requests found
......@@ -80,8 +80,8 @@ Time Time::FromExploded(bool is_local, const Exploded& exploded) {
void Time::Explode(bool is_local, Exploded* exploded) const {
CFAbsoluteTime seconds =
(static_cast<double>((us_ - kWindowsEpochDeltaMicroseconds) /
kMicrosecondsPerSecond) - kCFAbsoluteTimeIntervalSince1970);
((static_cast<double>(us_) - kWindowsEpochDeltaMicroseconds) /
kMicrosecondsPerSecond) - kCFAbsoluteTimeIntervalSince1970;
base::mac::ScopedCFTypeRef<CFTimeZoneRef>
time_zone(is_local ? CFTimeZoneCopySystem() : NULL);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment