Index: cc/resources/tile_priority.cc |
diff --git a/cc/resources/tile_priority.cc b/cc/resources/tile_priority.cc |
index d1c3fbf963c243d74e1e768a724f10b3bbebb0aa..932434fedf278e918a2ba27cfa441c0f7187d94c 100644 |
--- a/cc/resources/tile_priority.cc |
+++ b/cc/resources/tile_priority.cc |
@@ -30,8 +30,11 @@ bool Range::IsEmpty() { |
return start_ >= end_; |
} |
-inline void IntersectNegativeHalfplane(Range* out, float previous, |
- float current, float target, float time_delta) { |
+inline void IntersectNegativeHalfplane(Range* out, |
+ float previous, |
+ float current, |
+ float target, |
+ float time_delta) { |
float time_per_dist = time_delta / (current - previous); |
float t = (target - current) * time_per_dist; |
if (time_per_dist > 0.0f) |
@@ -40,8 +43,11 @@ inline void IntersectNegativeHalfplane(Range* out, float previous, |
out->end_ = std::min(out->end_, t); |
} |
-inline void IntersectPositiveHalfplane(Range* out, float previous, |
- float current, float target, float time_delta) { |
+inline void IntersectPositiveHalfplane(Range* out, |
+ float previous, |
+ float current, |
+ float target, |
+ float time_delta) { |
float time_per_dist = time_delta / (current - previous); |
float t = (target - current) * time_per_dist; |
if (time_per_dist < 0.0f) |