Commit 0e3e9ba5 authored by pkl's avatar pkl Committed by Commit bot

Removed obsolete comment from base/time/time_mac.cc

This is a follow-up to https://codereview.chromium.org/1494083005/
to remove a comment that is no longer accurate.

Review URL: https://codereview.chromium.org/1706143002

Cr-Commit-Position: refs/heads/master@{#376173}
parent 6545dc94
......@@ -181,8 +181,6 @@ Time Time::FromExploded(bool is_local, const Exploded& exploded) {
gregorian, &absolute_time, "yMdHmsS", exploded.year, exploded.month,
exploded.day_of_month, exploded.hour, exploded.minute, exploded.second,
exploded.millisecond);
// Milliseconds from |exploded| is added back to |absolute_time| here
// because CFCalendar parameters are integer values.
CFAbsoluteTime seconds = absolute_time + kCFAbsoluteTimeIntervalSince1970;
return Time(static_cast<int64_t>(seconds * kMicrosecondsPerSecond) +
kWindowsEpochDeltaMicroseconds);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment