Index: tests/XfermodeTest.cpp |
diff --git a/tests/XfermodeTest.cpp b/tests/XfermodeTest.cpp |
index 620fbf4c93abe5224e119a3602e164e752fad61b..7d23b8530ae0c298068fccb7f89205dc3205cc82 100644 |
--- a/tests/XfermodeTest.cpp |
+++ b/tests/XfermodeTest.cpp |
@@ -23,7 +23,7 @@ static void test_asMode(skiatest::Reporter* reporter) { |
REPORTER_ASSERT(reporter, reportedMode != mode); |
// test IsMode |
- REPORTER_ASSERT(reporter, SkXfermode::IsMode(xfer, &reportedMode)); |
+ REPORTER_ASSERT(reporter, SkXfermode::AsMode(xfer, &reportedMode)); |
REPORTER_ASSERT(reporter, reportedMode == mode); |
// repeat that test, but with asMode instead |
@@ -41,7 +41,7 @@ static void test_asMode(skiatest::Reporter* reporter) { |
SkXfermode::Mode reportedMode = ILLEGAL_MODE; |
REPORTER_ASSERT(reporter, !bogusXfer->asMode(&reportedMode)); |
REPORTER_ASSERT(reporter, reportedMode == ILLEGAL_MODE); |
- REPORTER_ASSERT(reporter, !SkXfermode::IsMode(bogusXfer, &reportedMode)); |
+ REPORTER_ASSERT(reporter, !SkXfermode::AsMode(bogusXfer, &reportedMode)); |
REPORTER_ASSERT(reporter, reportedMode == ILLEGAL_MODE); |
bogusXfer->unref(); |
} |