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

Unified Diff: samplecode/SampleTiling.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 | « samplecode/SampleTextureDomain.cpp ('k') | samplecode/SampleTinyBitmap.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samplecode/SampleTiling.cpp
diff --git a/samplecode/SampleTiling.cpp b/samplecode/SampleTiling.cpp
index 5f995e2bdbb46b3cd76819c39a987ea71d59c301..ba79e5a0babea381d0c2baaf2958b8e1c79bcf55 100644
--- a/samplecode/SampleTiling.cpp
+++ b/samplecode/SampleTiling.cpp
@@ -97,9 +97,9 @@ protected:
SkScalar x = SkIntToScalar(10);
SkPictureRecorder recorder;
- SkCanvas* textCanvas = NULL;
- if (NULL == fTextPicture) {
- textCanvas = recorder.beginRecording(1000, 1000, NULL, 0);
+ SkCanvas* textCanvas = nullptr;
+ if (nullptr == fTextPicture) {
+ textCanvas = recorder.beginRecording(1000, 1000, nullptr, 0);
}
if (textCanvas) {
@@ -153,7 +153,7 @@ protected:
}
if (textCanvas) {
- SkASSERT(NULL == fTextPicture);
+ SkASSERT(nullptr == fTextPicture);
fTextPicture.reset(recorder.endRecording());
}
« no previous file with comments | « samplecode/SampleTextureDomain.cpp ('k') | samplecode/SampleTinyBitmap.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698