Index: Source/core/layout/api/LineLayoutItem.h |
diff --git a/Source/core/layout/api/LineLayoutItem.h b/Source/core/layout/api/LineLayoutItem.h |
index b7fea15272e3771a680a6fac4f69319146d6b3a5..e443ab316aeba3e7b8c576d06aa466b15060a3d0 100644 |
--- a/Source/core/layout/api/LineLayoutItem.h |
+++ b/Source/core/layout/api/LineLayoutItem.h |
@@ -40,6 +40,11 @@ public: |
// https://crbug.com/499321 |
operator LayoutObject*() const { return m_layoutObject; } |
+ bool needsLayout() const |
+ { |
+ return m_layoutObject->needsLayout(); |
+ } |
+ |
Node* node() const |
{ |
return m_layoutObject->node(); |