Index: debugger/QT/SkDrawCommandGeometryWidget.cpp |
diff --git a/debugger/QT/SkDrawCommandGeometryWidget.cpp b/debugger/QT/SkDrawCommandGeometryWidget.cpp |
index 9f19785667388a24b8a419e825c882d3c6cdb8e3..08192acf9a3695b2a3c109fb80f31c5a071a5465 100644 |
--- a/debugger/QT/SkDrawCommandGeometryWidget.cpp |
+++ b/debugger/QT/SkDrawCommandGeometryWidget.cpp |
@@ -23,7 +23,7 @@ void SkDrawCommandGeometryWidget::resizeEvent(QResizeEvent* event) { |
QRect r = this->contentsRect(); |
int dim = std::min(r.width(), r.height()); |
if (dim == 0) { |
- fSurface.reset(NULL); |
+ fSurface.reset(nullptr); |
} else { |
SkImageInfo info = SkImageInfo::MakeN32Premul(dim, dim); |
fSurface.reset(SkSurface::NewRaster(info)); |