Index: third_party/WebKit/Source/core/layout/ng/ng_block_node.h |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_block_node.h b/third_party/WebKit/Source/core/layout/ng/ng_block_node.h |
index 7f421622bfe89d866ed86d87f34fd18e2182406a..0306826f19161bc613b080e02a7de32a3ff71986 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_block_node.h |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_block_node.h |
@@ -6,6 +6,7 @@ |
#define NGBlockNode_h |
#include "core/CoreExport.h" |
+#include "core/layout/LayoutBox.h" |
#include "core/layout/ng/ng_layout_input_node.h" |
#include "core/layout/ng/ng_physical_box_fragment.h" |
#include "platform/heap/Handle.h" |
@@ -13,7 +14,6 @@ |
namespace blink { |
class ComputedStyle; |
-class LayoutBox; |
class LayoutObject; |
class NGBreakToken; |
class NGConstraintSpace; |
@@ -59,6 +59,9 @@ class CORE_EXPORT NGBlockNode final : public NGLayoutInputNode { |
return fragment_ && !fragment_->BreakToken(); |
} |
+ // Used for debugging purposes only. |
+ const LayoutBox* LegacyLayoutBox() const { return layout_box_; } |
+ |
DECLARE_VIRTUAL_TRACE(); |
// Runs layout on layout_box_ and creates a fragment for the resulting |