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

Unified Diff: third_party/WebKit/Source/core/layout/ng/inline/ng_inline_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/inline/ng_inline_node.h
diff --git a/third_party/WebKit/Source/core/layout/ng/inline/ng_inline_node.h b/third_party/WebKit/Source/core/layout/ng/inline/ng_inline_node.h
index b60bbe4b1ed7c264aaae9a41b087abeeb25fd914..4524c5d852d0f94933bcffc32e3c8e760a9c129e 100644
--- a/third_party/WebKit/Source/core/layout/ng/inline/ng_inline_node.h
+++ b/third_party/WebKit/Source/core/layout/ng/inline/ng_inline_node.h
@@ -39,7 +39,7 @@ class CORE_EXPORT NGInlineNode : public NGLayoutInputNode {
RefPtr<NGLayoutResult> Layout(NGConstraintSpace*,
NGBreakToken* = nullptr) override;
- LayoutObject* GetLayoutObject() override;
+ LayoutObject* GetLayoutObject() const override;
// Computes the value of min-content and max-content for this anonymous block
// box. min-content is the inline size when lines wrap at every break
@@ -68,6 +68,8 @@ class CORE_EXPORT NGInlineNode : public NGLayoutInputNode {
void AssertOffset(unsigned index, unsigned offset) const;
void AssertEndOffset(unsigned index, unsigned offset) const;
+ String ToString() const override;
+
DECLARE_VIRTUAL_TRACE();
protected:

Powered by Google App Engine
This is Rietveld 408576698