Style Change: NULL->nullptr
DOCS_PREVIEW= https://skia.org/?cl=1316233002
Review URL: https://codereview.chromium.org/1316233002
diff --git a/src/views/SkStackViewLayout.cpp b/src/views/SkStackViewLayout.cpp
index aba6f2e..b0c8c8c 100644
--- a/src/views/SkStackViewLayout.cpp
+++ b/src/views/SkStackViewLayout.cpp
@@ -79,7 +79,7 @@
SkScalar limit = 0;
int n = 0, flex = 0;
- while ((child = iter.next()) != NULL)
+ while ((child = iter.next()) != nullptr)
{
n += 1;
if (child->getFlags() & flexMask)
@@ -145,7 +145,7 @@
}
crossLimit += (parent->*crossGetSizeP)();
if (fAlign != kStretch_Align)
- crossSetSizeP = NULL;
+ crossSetSizeP = nullptr;
int childCount, flexCount;
SkScalar childLimit = compute_children_limit(parent, mainGetSizeP, &childCount, flexMask, &flexCount);
@@ -164,7 +164,7 @@
if (flexCount > 0 && parentLimit > childLimit)
flexAmount = (parentLimit - childLimit) / flexCount;
- while ((child = iter.next()) != NULL)
+ while ((child = iter.next()) != nullptr)
{
if (fRound)
pos = SkScalarRoundToScalar(pos);
@@ -258,7 +258,7 @@
SkView::B2FIter iter(parent);
SkView* child;
- while ((child = iter.next()) != NULL)
+ while ((child = iter.next()) != nullptr)
{
child->setLoc(fMargin.fLeft, fMargin.fTop);
child->setSize( parent->width() - fMargin.fRight - fMargin.fLeft,