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

Unified Diff: gm/mipmap.cpp

Issue 1272713005: flag to use const& instead of const* for src-rect (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 4 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/mipmap.cpp
diff --git a/gm/mipmap.cpp b/gm/mipmap.cpp
index 6163a3ac5169dc75e1f9ccca6f7ab20c7d982808..596cc19d6e53bf3dee3259412016452cab460b62 100644
--- a/gm/mipmap.cpp
+++ b/gm/mipmap.cpp
@@ -42,7 +42,7 @@ static void test_mip(SkCanvas* canvas) {
canvas->translate(20, 20);
for (int i = 0; i < 4; ++i) {
paint.setFilterQuality(SkFilterQuality(i));
- canvas->drawImageRect(img, NULL, dst, &paint);
+ canvas->drawImageRect(img, dst, &paint);
canvas->translate(0, 20);
}
canvas->drawImage(img, 20, 20, NULL);

Powered by Google App Engine
This is Rietveld 408576698