summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/skia/src/core/SkPathMeasure.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/skia/src/core/SkPathMeasure.cpp')
-rw-r--r--chromium/third_party/skia/src/core/SkPathMeasure.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/chromium/third_party/skia/src/core/SkPathMeasure.cpp b/chromium/third_party/skia/src/core/SkPathMeasure.cpp
index c519f93dcea..48f7571c074 100644
--- a/chromium/third_party/skia/src/core/SkPathMeasure.cpp
+++ b/chromium/third_party/skia/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 {