Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(499)

Unified Diff: Source/core/layout/api/LineLayoutItem.h

Issue 1299273002: [Line Layout API] Add needsLayout() to LineLayoutItem (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/core/layout/line/AbstractInlineTextBox.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « no previous file | Source/core/layout/line/AbstractInlineTextBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698