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

Unified Diff: gm/verylargebitmap.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/verylargebitmap.cpp
diff --git a/gm/verylargebitmap.cpp b/gm/verylargebitmap.cpp
index 0dca1d7be663c798673bf743ec2dcc6310d2252c..5e2dbd4f412c8d74ad790b372d27abdeee72caa8 100644
--- a/gm/verylargebitmap.cpp
+++ b/gm/verylargebitmap.cpp
@@ -50,7 +50,7 @@ static void show_bm(SkCanvas* canvas, int width, int height, SkColor colors[2])
r.offset(SkIntToScalar(150), 0);
// exercises bitmapshader
- canvas->drawBitmapRect(bm, NULL, r, NULL);
+ canvas->drawBitmapRect(bm, r, nullptr);
canvas->drawRect(r, paint);
}

Powered by Google App Engine
This is Rietveld 408576698