diff options
Diffstat (limited to 'tests/WindowRectanglesTest.cpp')
-rw-r--r-- | tests/WindowRectanglesTest.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/WindowRectanglesTest.cpp b/tests/WindowRectanglesTest.cpp index e9545651af..84fdca2237 100644 --- a/tests/WindowRectanglesTest.cpp +++ b/tests/WindowRectanglesTest.cpp @@ -11,6 +11,7 @@ #if SK_SUPPORT_GPU #include "GrWindowRectangles.h" +#include "SkRectPriv.h" static SkIRect next_irect(SkRandom& r) { return {r.nextS(), r.nextS(), r.nextS(), r.nextS()}; @@ -47,7 +48,7 @@ DEF_TEST(WindowRectangles, reporter) { REPORTER_ASSERT(reporter, B.data() != A.data()); REPORTER_ASSERT(reporter, B != A); - B.addWindow(SkIRect::MakeLargest()); + B.addWindow(SkRectPriv::MakeILargest()); REPORTER_ASSERT(reporter, B != A); REPORTER_ASSERT(reporter, !memcmp(A.data(), windowData, @@ -55,7 +56,7 @@ DEF_TEST(WindowRectangles, reporter) { REPORTER_ASSERT(reporter, !memcmp(B.data(), windowData, (GrWindowRectangles::kMaxWindows - 1) * sizeof(SkIRect))); REPORTER_ASSERT(reporter, - B.data()[GrWindowRectangles::kMaxWindows - 1] == SkIRect::MakeLargest()); + B.data()[GrWindowRectangles::kMaxWindows - 1] == SkRectPriv::MakeILargest()); } { GrWindowRectangles A(wr), B(wr); |