Fix the PictureRecord step of BenchPictures.
Review URL: https://codereview.appspot.com/6820100
git-svn-id: http://skia.googlecode.com/svn/trunk@6311 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/tools/PictureRenderer.cpp b/tools/PictureRenderer.cpp
index d407b0e..23223da 100644
--- a/tools/PictureRenderer.cpp
+++ b/tools/PictureRenderer.cpp
@@ -164,6 +164,11 @@
///////////////////////////////////////////////////////////////////////////////////////////////
+SkCanvas* RecordPictureRenderer::setupCanvas(int width, int height) {
+ // defer the canvas setup until the render step
+ return NULL;
+}
+
bool RecordPictureRenderer::render(const SkString*) {
SkAutoTUnref<SkPicture> replayer(this->createPicture());
SkCanvas* recorder = replayer->beginRecording(fPicture->width(), fPicture->height(),