Index: tests/PathOpsExtendedTest.cpp |
diff --git a/tests/PathOpsExtendedTest.cpp b/tests/PathOpsExtendedTest.cpp |
index ca6f86507d95647e56e41d3a308b03649b859ab3..1083a897e15657c35bb6b7b3a36c728377712477 100644 |
--- a/tests/PathOpsExtendedTest.cpp |
+++ b/tests/PathOpsExtendedTest.cpp |
@@ -347,11 +347,11 @@ bool drawAsciiPaths(const SkPath& one, const SkPath& two, bool drawPaths) { |
larger.join(bounds2); |
SkBitmap bits; |
char out[256]; |
- int bitWidth = SkScalarCeil(larger.width()) + 2; |
+ int bitWidth = SkScalarCeilToInt(larger.width()) + 2; |
if (bitWidth * 2 + 1 >= (int) sizeof(out)) { |
return false; |
} |
- int bitHeight = SkScalarCeil(larger.height()) + 2; |
+ int bitHeight = SkScalarCeilToInt(larger.height()) + 2; |
if (bitHeight >= (int) sizeof(out)) { |
return false; |
} |