Index: third_party/WebKit/Source/core/layout/ng/NGFragment.cpp |
diff --git a/third_party/WebKit/Source/core/layout/ng/NGFragment.cpp b/third_party/WebKit/Source/core/layout/ng/NGFragment.cpp |
index 22d1d017e23539586331806e854c1d1ef0becf12..f2e0a97741634d445d19cc8c2075c13377ad4170 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/NGFragment.cpp |
+++ b/third_party/WebKit/Source/core/layout/ng/NGFragment.cpp |
@@ -6,9 +6,12 @@ |
namespace blink { |
-NGFragment::NGFragment(LayoutUnit inlineSize, LayoutUnit blockSize) |
+NGFragment::NGFragment(LayoutUnit inlineSize, LayoutUnit blockSize, |
+ LayoutUnit inlineOverflow, LayoutUnit blockOverflow) |
: m_inlineSize(inlineSize) |
, m_blockSize(blockSize) |
+ , m_inlineOverflow(inlineOverflow) |
+ , m_blockOverflow(blockOverflow) |
{ |
} |
@@ -18,4 +21,9 @@ void NGFragment::setOffset(LayoutUnit inlineOffset, LayoutUnit blockOffset) |
m_blockOffset = blockOffset; |
} |
+DEFINE_TRACE(NGFragment) |
+{ |
+ visitor->trace(m_children); |
+} |
+ |
} // namespace blink |