Index: skia/ext/benchmarking_canvas.cc |
diff --git a/skia/ext/benchmarking_canvas.cc b/skia/ext/benchmarking_canvas.cc |
index b0a3082c5ed72afcd1a9f4db21ab88d7469e9147..c5f211dda55f9c7a6b59009dc491dd1506dd8a78 100644 |
--- a/skia/ext/benchmarking_canvas.cc |
+++ b/skia/ext/benchmarking_canvas.cc |
@@ -182,10 +182,16 @@ protected: |
} |
virtual void onDrawPicture(const SkPicture* picture) OVERRIDE { |
+ AutoStamper stamper(this); |
+ SkProxyCanvas::onDrawPicture(picture); |
+ } |
+ |
+ virtual void onDrawPicture(const SkPicture* picture, const SkMatrix* matrix, |
+ const SkPaint* paint) OVERRIDE { |
AutoStamper stamper(this); |
- SkProxyCanvas::onDrawPicture(picture); |
+ SkProxyCanvas::onDrawPicture(picture, matrix, paint); |
} |
- |
+ |
private: |
typedef base::hash_map<size_t, base::TimeDelta> TimingsMap; |
TimingsMap timings_map_; |