Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(474)

Unified Diff: skia/ext/benchmarking_canvas.cc

Issue 315963003: Switch Chromium to new Skia SkCanvas::drawPicture method (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/resources/skpicture_content_layer_updater.cc ('k') | skia/ext/pixel_ref_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/ext/benchmarking_canvas.cc
diff --git a/skia/ext/benchmarking_canvas.cc b/skia/ext/benchmarking_canvas.cc
index f765cd175598e92b7ca0868e9110a4f4978d28f6..847e3b6d7b6412147ea33f3fa22be1564326295a 100644
--- a/skia/ext/benchmarking_canvas.cc
+++ b/skia/ext/benchmarking_canvas.cc
@@ -114,7 +114,7 @@ public:
SkProxyCanvas::drawSprite(bitmap, left, top, paint);
}
- virtual void drawPicture(SkPicture& picture) OVERRIDE {
+ virtual void drawPicture(const SkPicture* picture) OVERRIDE {
f(malita) 2014/06/04 15:16:55 Override onDrawPicture() instead.
robertphillips 2014/06/04 15:42:41 Done.
AutoStamper stamper(this);
SkProxyCanvas::drawPicture(picture);
}
« no previous file with comments | « cc/resources/skpicture_content_layer_updater.cc ('k') | skia/ext/pixel_ref_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698