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

Unified Diff: gm/textblobrandomfont.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/textblobmixedsizes.cpp ('k') | gm/textblobshader.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/textblobrandomfont.cpp
diff --git a/gm/textblobrandomfont.cpp b/gm/textblobrandomfont.cpp
index ada46cadfcf9360259b11abfd8a9918a7e5d5aca..862d83b7079a6e0bbe084f01760c27bda8ac169a 100644
--- a/gm/textblobrandomfont.cpp
+++ b/gm/textblobrandomfont.cpp
@@ -41,7 +41,7 @@ protected:
// Setup our random scaler context
SkAutoTUnref<SkTypeface> orig(sk_tool_utils::create_portable_typeface("sans-serif",
SkTypeface::kBold));
- if (NULL == orig) {
+ if (nullptr == orig) {
orig.reset(SkTypeface::RefDefault());
}
SkAutoTUnref<SkTypeface> random(new SkRandomTypeface(orig, paint, false));
@@ -93,7 +93,7 @@ protected:
void onDraw(SkCanvas* canvas) override {
// This GM exists to test a specific feature of the GPU backend.
- if (NULL == canvas->getGrContext()) {
+ if (nullptr == canvas->getGrContext()) {
this->drawGpuOnlyMessage(canvas);
return;
}
« no previous file with comments | « gm/textblobmixedsizes.cpp ('k') | gm/textblobshader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698