Index: bench/RotatedRectBench.cpp |
diff --git a/bench/RotatedRectBench.cpp b/bench/RotatedRectBench.cpp |
index 87b4ec8bd4b905210aa022d229f4712de4e61d5c..90bf611eb440447094dec4e2ca634e66ec88f6dd 100644 |
--- a/bench/RotatedRectBench.cpp |
+++ b/bench/RotatedRectBench.cpp |
@@ -83,8 +83,8 @@ protected: |
paint.setXfermodeMode(fMode); |
SkColor color = start_color(fColorType); |
- int w = canvas->getBaseLayerSize().width(); |
- int h = canvas->getBaseLayerSize().height(); |
+ int w = this->getSize().x(); |
+ int h = this->getSize().y(); |
static const SkScalar kRectW = 25.1f; |
static const SkScalar kRectH = 25.9f; |