Index: gm/convexpolyclip.cpp |
diff --git a/gm/convexpolyclip.cpp b/gm/convexpolyclip.cpp |
index 9681faadf3299ab54c92d0b4243cce6487b1584f..30afb4cc6e6b5f1071c493bfa4b6bb7f89ffa0b4 100644 |
--- a/gm/convexpolyclip.cpp |
+++ b/gm/convexpolyclip.cpp |
@@ -143,7 +143,7 @@ protected: |
SkPaint bgPaint; |
bgPaint.setAlpha(0x15); |
- SkISize size = canvas->getDeviceSize(); |
+ SkISize size = this->onISize(); |
canvas->drawBitmapRect(fBmp, SkRect::MakeIWH(size.fWidth, size.fHeight), &bgPaint); |
constexpr char kTxt[] = "Clip Me!"; |