Index: bench/nanobench.cpp |
diff --git a/bench/nanobench.cpp b/bench/nanobench.cpp |
index f2bf30a4515caa38808c26dfbf5f0d4f1abd226a..3dcd9db2d90f72740d5f7f2b833cd4c39b1ca770 100644 |
--- a/bench/nanobench.cpp |
+++ b/bench/nanobench.cpp |
@@ -494,7 +494,9 @@ public: |
}; |
SkTileGridFactory factory(info); |
SkPictureRecorder recorder; |
- pic->draw(recorder.beginRecording(pic->width(), pic->height(), &factory)); |
+ pic->draw(recorder.beginRecording(pic->cullRect().width(), |
+ pic->cullRect().height(), |
+ &factory)); |
pic.reset(recorder.endRecording()); |
} |