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; |
} |