Index: third_party/WebKit/Source/core/layout/ng/ng_box.h |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_box.h b/third_party/WebKit/Source/core/layout/ng/ng_box.h |
index 39d5e83ff6370c59dd547cbced1ccc6704f201fd..d2a5da95193bd52ce6211afe6440c7b00823b50b 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_box.h |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_box.h |
@@ -36,7 +36,14 @@ class CORE_EXPORT NGBox final { |
NGBox firstChild() const; |
+ // This is necessary for interop between old and new trees -- after our parent |
+ // positions us, it calls this function so we can store the position on the |
+ // underlying LayoutBox. |
+ void positionUpdated(const NGFragment&); |
+ |
private: |
+ bool canUseNewLayout(); |
+ |
LayoutBox* m_layoutBox; |
}; |