Index: src/core/SkBitmapFilter.h |
diff --git a/src/core/SkBitmapFilter.h b/src/core/SkBitmapFilter.h |
index 0b8483a1e4191253901f08f11b506b5ece3e513b..8ef0f6e1ded91099a988de7147cc1106d7653fce 100644 |
--- a/src/core/SkBitmapFilter.h |
+++ b/src/core/SkBitmapFilter.h |
@@ -67,7 +67,7 @@ class SkBitmapFilter { |
for (int x = 0; x < SKBITMAP_FILTER_TABLE_SIZE; ++x) { |
float fx = ((float)x + .5f) * this->width() / SKBITMAP_FILTER_TABLE_SIZE; |
float filter_value = evaluate(fx); |
- *ftpScalar++ = SkFloatToScalar(filter_value); |
+ *ftpScalar++ = filter_value; |
*ftp++ = SkFloatToFixed(filter_value); |
} |
} |