aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--bench/RotatedRectBench.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/bench/RotatedRectBench.cpp b/bench/RotatedRectBench.cpp
index 87b4ec8bd4..90bf611eb4 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;