Index: Source/core/layout/api/LineLayoutItem.h |
diff --git a/Source/core/layout/api/LineLayoutItem.h b/Source/core/layout/api/LineLayoutItem.h |
index e443ab316aeba3e7b8c576d06aa466b15060a3d0..68771eecb0ee19641320a26212476cdaba8785ab 100644 |
--- a/Source/core/layout/api/LineLayoutItem.h |
+++ b/Source/core/layout/api/LineLayoutItem.h |
@@ -18,6 +18,7 @@ class HitTestRequest; |
class HitTestLocation; |
class LayoutObject; |
class LineLayoutBox; |
+class LineLayoutBoxModel; |
enum HitTestFilter; |
@@ -61,10 +62,15 @@ public: |
} |
// Implemented in LineLayoutBox.h |
- // Intentionally returns a Box instead of a Block to avoid exposing LayoutBlock |
+ // Intentionally returns a LineLayoutBox to avoid exposing LayoutBlock |
// to the line layout code. |
LineLayoutBox containingBlock() const; |
+ // Implemented in LineLayoutBoxModel.h |
+ // Intentionally returns a LineLayoutBoxModel to avoid exposing LayoutBoxModelObject |
+ // to the line layout code. |
+ LineLayoutBoxModel enclosingBoxModelObject() const; |
+ |
LineLayoutItem container() const |
{ |
return LineLayoutItem(m_layoutObject->container()); |