Index: Source/core/layout/LayoutDeprecatedFlexibleBox.cpp |
diff --git a/Source/core/layout/LayoutDeprecatedFlexibleBox.cpp b/Source/core/layout/LayoutDeprecatedFlexibleBox.cpp |
index 10031bcf65914231abe36dd2816aaa0ddeee740b..4761a008c0ab2ddf0ef670f19b5d0402fa7faf49 100644 |
--- a/Source/core/layout/LayoutDeprecatedFlexibleBox.cpp |
+++ b/Source/core/layout/LayoutDeprecatedFlexibleBox.cpp |
@@ -81,7 +81,7 @@ public: |
m_currentOrdinal = m_forward ? 1 : m_largestOrdinal; |
} else { |
if (static_cast<size_t>(m_ordinalIteration) >= m_ordinalValues.size() + 1) |
- return 0; |
+ return nullptr; |
// Only copy+sort the values once per layout even if the iterator is reset. |
if (m_ordinalValues.size() != m_sortedOrdinalValues.size()) { |