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

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_block_node.h

Issue 2854993002: [LayoutNG] Add NGLayoutInputNode::ShowNodeTree (Closed)
Patch Set: Use forward declaration for LayoutObject Created 3 years, 8 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
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 511fe095ab7bf8320d7e9cf28c9c5dd6ab4cfe23..ed8518285539475290ee02e0619e85520658e5a0 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
@@ -34,7 +34,7 @@ class CORE_EXPORT NGBlockNode final : public NGLayoutInputNode {
RefPtr<NGLayoutResult> Layout(NGConstraintSpace* constraint_space,
NGBreakToken* break_token = nullptr) override;
NGLayoutInputNode* NextSibling() override;
- LayoutObject* GetLayoutObject() override;
+ LayoutObject* GetLayoutObject() const override;
// Computes the value of min-content and max-content for this box.
// If the underlying layout algorithm's ComputeMinMaxContentSize returns
@@ -63,6 +63,8 @@ class CORE_EXPORT NGBlockNode final : public NGLayoutInputNode {
bool CanUseNewLayout();
+ String ToString() const override;
+
private:
// After we run the layout algorithm, this function copies back the geometry
// data to the layout box.

Powered by Google App Engine
This is Rietveld 408576698