diff options
author | 2015-08-27 07:41:13 -0700 | |
---|---|---|
committer | 2015-08-27 07:41:16 -0700 | |
commit | 96fcdcc219d2a0d3579719b84b28bede76efba64 (patch) | |
tree | 0ec5ea0193d8292df8bf5ed9dd8498a5eb5763dd /debugger/QT/SkDrawCommandGeometryWidget.cpp | |
parent | 435af2f736c85c3274a0c6760a3523810750d237 (diff) |
Style Change: NULL->nullptr
DOCS_PREVIEW= https://skia.org/?cl=1316233002
Review URL: https://codereview.chromium.org/1316233002
Diffstat (limited to 'debugger/QT/SkDrawCommandGeometryWidget.cpp')
-rw-r--r-- | debugger/QT/SkDrawCommandGeometryWidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debugger/QT/SkDrawCommandGeometryWidget.cpp b/debugger/QT/SkDrawCommandGeometryWidget.cpp index 9f19785667..08192acf9a 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)); |