Index: third_party/WebKit/Source/core/layout/LayoutBlock.h |
diff --git a/third_party/WebKit/Source/core/layout/LayoutBlock.h b/third_party/WebKit/Source/core/layout/LayoutBlock.h |
index 7bae52d53cb095714bd28ad9b711e57f8a79c5fc..1838d904c6a8afe17f12738b85ad50ed800e7c07 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBlock.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutBlock.h |
@@ -414,6 +414,10 @@ protected: |
// FIXME: This is temporary as we move code that accesses block flow |
// member variables out of LayoutBlock and into LayoutBlockFlow. |
friend class LayoutBlockFlow; |
+ |
+ // This is necessary for now for interoperability between the old and new |
+ // layout code. Primarily for calling layoutPositionedObjects at the moment. |
+ friend class NGBox; |
}; |
DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlock, isLayoutBlock()); |