Index: debugger/QT/SkRasterWidget.cpp |
diff --git a/debugger/QT/SkRasterWidget.cpp b/debugger/QT/SkRasterWidget.cpp |
index 72a742f7aa2610e512e08948695d4f145ab6ff7e..203d98ee4e3967497e1417c27eefc45942166781 100644 |
--- a/debugger/QT/SkRasterWidget.cpp |
+++ b/debugger/QT/SkRasterWidget.cpp |
@@ -22,7 +22,7 @@ void SkRasterWidget::resizeEvent(QResizeEvent* event) { |
QRect r = this->contentsRect(); |
if (r.width() == 0 || r.height() == 0) { |
- fSurface.reset(NULL); |
+ fSurface.reset(nullptr); |
} else { |
SkImageInfo info = SkImageInfo::MakeN32Premul(r.width(), r.height()); |
fSurface.reset(SkSurface::NewRaster(info)); |