Index: src/views/animated/SkScrollBarView.cpp |
diff --git a/src/views/animated/SkScrollBarView.cpp b/src/views/animated/SkScrollBarView.cpp |
index d78cafafd792b4c054d4440526c25eff5d26660d..9ba523e658072d6cd016059e04473102a9ed140b 100644 |
--- a/src/views/animated/SkScrollBarView.cpp |
+++ b/src/views/animated/SkScrollBarView.cpp |
@@ -89,7 +89,7 @@ void SkScrollBarView::setTotal(unsigned total) |
SkAnimator::DifferenceType diff = fAnim.draw(canvas, &paint, SkTime::GetMSecs()); |
if (diff == SkAnimator::kDifferent) |
- this->inval(NULL); |
+ this->inval(nullptr); |
else if (diff == SkAnimator::kPartiallyDifferent) |
{ |
SkRect bounds; |
@@ -102,7 +102,7 @@ void SkScrollBarView::setTotal(unsigned total) |
{ |
if (evt.isType(SK_EventType_Inval)) |
{ |
- this->inval(NULL); |
+ this->inval(nullptr); |
return true; |
} |
if (evt.isType("recommendDim")) |