Index: src/core/SkPathMeasure.cpp |
diff --git a/src/core/SkPathMeasure.cpp b/src/core/SkPathMeasure.cpp |
index c519f93dceaaeb1e6259a4cf8c92a79a58484460..48f7571c0749861aa723306a782a8205228f459d 100644 |
--- a/src/core/SkPathMeasure.cpp |
+++ b/src/core/SkPathMeasure.cpp |
@@ -23,12 +23,7 @@ enum { |
static inline SkScalar tValue2Scalar(int t) { |
SkASSERT((unsigned)t <= kMaxTValue); |
- |
-#ifdef SK_SCALAR_IS_FLOAT |
return t * 3.05185e-5f; // t / 32767 |
-#else |
- return (t + (t >> 14)) << 1; |
-#endif |
} |
SkScalar SkPathMeasure::Segment::getScalarT() const { |