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

Unified Diff: debugger/SkDebugger.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 | « debugger/SkDebugger.h ('k') | dm/DM.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: debugger/SkDebugger.cpp
diff --git a/debugger/SkDebugger.cpp b/debugger/SkDebugger.cpp
index 61fa3ec642045eafc9701668ba81e634121b930c..b7e673629d251f17742bdd4269327c6fa1784509 100644
--- a/debugger/SkDebugger.cpp
+++ b/debugger/SkDebugger.cpp
@@ -12,7 +12,7 @@
SkDebugger::SkDebugger()
- : fPicture(NULL)
+ : fPicture(nullptr)
, fIndex(-1) {
// Create this some other dynamic way?
fDebugCanvas = new SkDebugCanvas(0, 0);
@@ -32,7 +32,7 @@ void SkDebugger::loadPicture(SkPicture* picture) {
SkScalarCeilToInt(this->pictureCull().height()));
fDebugCanvas->setPicture(picture);
picture->playback(fDebugCanvas);
- fDebugCanvas->setPicture(NULL);
+ fDebugCanvas->setPicture(nullptr);
fIndex = fDebugCanvas->getSize() - 1;
}
@@ -83,7 +83,7 @@ void SkDebugger::getOverviewText(const SkTDArray<double>* typeTimes,
for (int i = 0; i < SkDrawCommand::kOpTypeCount; ++i) {
if (0 == counts[i]) {
// if there were no commands of this type then they should've consumed no time
- SkASSERT(NULL == typeTimes || 0.0 == (*typeTimes)[i]);
+ SkASSERT(nullptr == typeTimes || 0.0 == (*typeTimes)[i]);
continue;
}
« no previous file with comments | « debugger/SkDebugger.h ('k') | dm/DM.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698