Index: src/effects/SkEmbossMaskFilter.cpp |
diff --git a/src/effects/SkEmbossMaskFilter.cpp b/src/effects/SkEmbossMaskFilter.cpp |
index 8fcd272646a4421b2f6d367d771a601f882dc04c..59d297835e1f9dea50e9fa629275440292beab5e 100644 |
--- a/src/effects/SkEmbossMaskFilter.cpp |
+++ b/src/effects/SkEmbossMaskFilter.cpp |
@@ -61,7 +61,7 @@ static void normalize(SkScalar v[3]) { |
mag = SkScalarSqrt(mag); |
for (int i = 0; i < 3; i++) { |
- v[i] = SkScalarDiv(v[i], mag); |
+ v[i] /= mag; |
} |
} |