aboutsummaryrefslogtreecommitdiffstats
path: root/tests/TestSize.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/TestSize.cpp')
-rw-r--r--tests/TestSize.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/TestSize.cpp b/tests/TestSize.cpp
index 6551509..9e0aaaa 100644
--- a/tests/TestSize.cpp
+++ b/tests/TestSize.cpp
@@ -53,7 +53,7 @@ static void TestSize(skiatest::Reporter* reporter) {
SkISize ia;
ia.set(ix, iy);
a.set(x, y);
- REPORTER_ASSERT(reporter, a.round() == ia);
+ REPORTER_ASSERT(reporter, a.toRound() == ia);
};
#include "TestClassDef.h"