| Index: tests/CanvasTest.cpp
|
| diff --git a/tests/CanvasTest.cpp b/tests/CanvasTest.cpp
|
| index 774e85d2427a7ddb8612985c8550b17bb22f0403..2390c7455f58351a2d93d464ea65d8ffac120cfa 100644
|
| --- a/tests/CanvasTest.cpp
|
| +++ b/tests/CanvasTest.cpp
|
| @@ -515,8 +515,11 @@ static void AssertCanvasStatesEqual(skiatest::Reporter* reporter, const TestData
|
| REPORTER_ASSERT_MESSAGE(reporter, bounds1 == bounds2,
|
| testStep->assertMessage());
|
|
|
| +#ifdef SK_SUPPORT_LEGACY_DRAWFILTER
|
| REPORTER_ASSERT_MESSAGE(reporter, canvas1->getDrawFilter() ==
|
| canvas2->getDrawFilter(), testStep->assertMessage());
|
| +#endif
|
| +
|
| SkIRect deviceBounds1, deviceBounds2;
|
| REPORTER_ASSERT_MESSAGE(reporter,
|
| canvas1->getClipDeviceBounds(&deviceBounds1) ==
|
|
|