Index: Source/core/layout/line/TrailingObjects.h |
diff --git a/Source/core/layout/line/TrailingObjects.h b/Source/core/layout/line/TrailingObjects.h |
index e04cdc82c25267220986081600c7e340949de227..62e7b0cc87d071864d14068f95447e03070450e3 100644 |
--- a/Source/core/layout/line/TrailingObjects.h |
+++ b/Source/core/layout/line/TrailingObjects.h |
@@ -55,7 +55,7 @@ typedef MidpointState<InlineIterator> LineMidpointState; |
class TrailingObjects { |
public: |
TrailingObjects() |
- : m_whitespace(0) |
+ : m_whitespace(nullptr) |
{ |
} |
@@ -67,7 +67,7 @@ public: |
void clear() |
{ |
- m_whitespace = 0; |
+ m_whitespace = nullptr; |
// Using resize(0) rather than clear() here saves 2% on |
// PerformanceTests/Layout/line-layout.html because we avoid freeing and |
// re-allocating the underlying buffer repeatedly. |