aboutsummaryrefslogtreecommitdiff
path: root/samplecode/OverView.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'samplecode/OverView.cpp')
-rw-r--r--samplecode/OverView.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/samplecode/OverView.cpp b/samplecode/OverView.cpp
index 9e229ff947..d7633452bc 100644
--- a/samplecode/OverView.cpp
+++ b/samplecode/OverView.cpp
@@ -60,7 +60,7 @@ protected:
SkUnichar uni;
if (SampleCode::CharQ(*evt, &uni)) {
fMatchStr.appendUnichar(uni);
- this->inval(NULL);
+ this->inval(nullptr);
return true;
}
return this->INHERITED::onQuery(evt);
@@ -86,7 +86,7 @@ protected:
this->next(&loc);
}
}
- return NULL;
+ return nullptr;
}
private: