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

Unified Diff: gm/bitmaprecttest.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
« no previous file with comments | « gm/bitmaprect.cpp ('k') | gm/bleed.cpp » ('j') | gm/image.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/bitmaprecttest.cpp
diff --git a/gm/bitmaprecttest.cpp b/gm/bitmaprecttest.cpp
index 630c90c600d6d8530ee5cccee693a8d3cf1dc6f1..878029a8dd7d750434ca7ac70008e1cebdcf1714 100644
--- a/gm/bitmaprecttest.cpp
+++ b/gm/bitmaprecttest.cpp
@@ -43,7 +43,7 @@ static void test_bitmaprect(SkCanvas* canvas) {
SkScalar scale = 0.472560018f;
canvas->save();
canvas->scale(scale, scale);
- canvas->drawBitmapRect(bm, SkRect::MakeXYWH(100, 100, 128, 128));
+ canvas->drawBitmapRect(bm, SkRect::MakeXYWH(100, 100, 128, 128), nullptr);
canvas->restore();
canvas->scale(-1, 1);
« no previous file with comments | « gm/bitmaprect.cpp ('k') | gm/bleed.cpp » ('j') | gm/image.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698