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

Unified Diff: gm/lerpmode.cpp

Issue 1316233002: Style Change: NULL->nullptr (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2015-08-27 (Thursday) 10:25:06 EDT 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/imageresizetiled.cpp ('k') | gm/lighting.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/lerpmode.cpp
diff --git a/gm/lerpmode.cpp b/gm/lerpmode.cpp
index f690c76fa6f1be28d2e828268105fee4f0118abb..bcf17c37a817e60ea8e4e7bdc70d6e09bd9c5baf 100644
--- a/gm/lerpmode.cpp
+++ b/gm/lerpmode.cpp
@@ -18,7 +18,7 @@ static void show_circlelayers(SkCanvas* canvas, SkXfermode* mode) {
r.fRight = bounds.centerX();
canvas->drawRect(r, paint);
- canvas->saveLayer(&bounds, NULL);
+ canvas->saveLayer(&bounds, nullptr);
paint.setColor(0x80FF0000);
r = bounds;
@@ -48,7 +48,7 @@ protected:
}
void onDraw(SkCanvas* canvas) override {
- show_circlelayers(canvas, NULL);
+ show_circlelayers(canvas, nullptr);
canvas->translate(150, 0);
SkAutoTUnref<SkXfermode> mode(SkLerpXfermode::Create(0.5f));
show_circlelayers(canvas, mode.get());
« no previous file with comments | « gm/imageresizetiled.cpp ('k') | gm/lighting.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698