Index: ppapi/shared_impl/time_conversion.cc |
diff --git a/ppapi/shared_impl/time_conversion.cc b/ppapi/shared_impl/time_conversion.cc |
index 27ea494b0fcde8291a705dbe6d29b164c7e041ec..8da14836f7bb28dcd673e46853dad2d26cdc385c 100644 |
--- a/ppapi/shared_impl/time_conversion.cc |
+++ b/ppapi/shared_impl/time_conversion.cc |
@@ -25,9 +25,7 @@ double GetTimeToTimeTicksDeltaInSeconds() { |
} // namespace |
-PP_Time TimeToPPTime(base::Time t) { |
- return t.ToDoubleT(); |
-} |
+PP_Time TimeToPPTime(base::Time t) { return t.ToDoubleT(); } |
base::Time PPTimeToTime(PP_Time t) { |
// The time code handles exact "0" values as special, and produces |
@@ -41,7 +39,7 @@ base::Time PPTimeToTime(PP_Time t) { |
PP_TimeTicks TimeTicksToPPTimeTicks(base::TimeTicks t) { |
return static_cast<double>(t.ToInternalValue()) / |
- base::Time::kMicrosecondsPerSecond; |
+ base::Time::kMicrosecondsPerSecond; |
} |
PP_TimeTicks EventTimeToPPTimeTicks(double event_time) { |
@@ -56,8 +54,8 @@ double PPGetLocalTimeZoneOffset(const base::Time& time) { |
// Explode it to local time and then unexplode it as if it were UTC. Also |
// explode it to UTC and unexplode it (this avoids mismatching rounding or |
// lack thereof). The time zone offset is their difference. |
- base::Time::Exploded exploded = { 0 }; |
- base::Time::Exploded utc_exploded = { 0 }; |
+ base::Time::Exploded exploded = {0}; |
+ base::Time::Exploded utc_exploded = {0}; |
time.LocalExplode(&exploded); |
time.UTCExplode(&utc_exploded); |
if (exploded.HasValidValues() && utc_exploded.HasValidValues()) { |