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

Unified Diff: third_party/WebKit/Source/core/layout/ng/inline/ng_inline_node.cc

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.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/inline/ng_inline_node.cc b/third_party/WebKit/Source/core/layout/ng/inline/ng_inline_node.cc
index 69d8228b78826676f56049225af9cf4af4e03f52..7c048de1350880c5663a48df6b6fc11c6512572a 100644
--- a/third_party/WebKit/Source/core/layout/ng/inline/ng_inline_node.cc
+++ b/third_party/WebKit/Source/core/layout/ng/inline/ng_inline_node.cc
@@ -228,7 +228,7 @@ NGLayoutInputNode* NGInlineNode::NextSibling() {
return next_sibling_;
}
-LayoutObject* NGInlineNode::GetLayoutObject() {
+LayoutObject* NGInlineNode::GetLayoutObject() const {
return GetLayoutBlockFlow();
}
@@ -365,6 +365,10 @@ void NGInlineNode::GetLayoutTextOffsets(
}
}
+String NGInlineNode::ToString() const {
+ return String::Format("NGInlineNode");
+}
+
DEFINE_TRACE(NGInlineNode) {
visitor->Trace(next_sibling_);
NGLayoutInputNode::Trace(visitor);

Powered by Google App Engine
This is Rietveld 408576698