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

Unified Diff: gm/gmmain.cpp

Issue 313613004: Alter SkCanvas::drawPicture (devirtualize, take const SkPicture, take pointer) (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Add staging entry point for Chromium and Android Created 6 years, 7 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
Index: gm/gmmain.cpp
diff --git a/gm/gmmain.cpp b/gm/gmmain.cpp
index 65a233ffac249f796404c33a6516bb55784fa274..b73971441c78e7590a01776597534e213d8fde8b 100644
--- a/gm/gmmain.cpp
+++ b/gm/gmmain.cpp
@@ -642,7 +642,7 @@ public:
SkCanvas canvas(*bitmap);
installFilter(&canvas);
canvas.scale(scale, scale);
- canvas.drawPicture(*pict);
+ canvas.drawPicture(pict);
complete_bitmap(bitmap);
}
}

Powered by Google App Engine
This is Rietveld 408576698