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

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

Issue 2676533003: [LayoutNG] Convert physical fragments to being RefCounted. (Closed)
Patch Set: address comments. Created 3 years, 10 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_inline_node.h
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_inline_node.h b/third_party/WebKit/Source/core/layout/ng/ng_inline_node.h
index e01d502c95693d2d9d1b4585ca70e7a4976d6459..4ac2468f3519c85af51e45a1632b911ab7e56360 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_inline_node.h
+++ b/third_party/WebKit/Source/core/layout/ng/ng_inline_node.h
@@ -34,7 +34,7 @@ class CORE_EXPORT NGInlineNode : public NGLayoutInputNode {
NGInlineNode(LayoutObject* start_inline, const ComputedStyle* block_style);
~NGInlineNode() override;
- NGPhysicalFragment* Layout(NGConstraintSpace*) override;
+ RefPtr<NGPhysicalFragment> Layout(NGConstraintSpace*) override;
void LayoutInline(NGConstraintSpace*, NGLineBuilder*);
NGInlineNode* NextSibling() override;
LayoutObject* GetLayoutObject() override;

Powered by Google App Engine
This is Rietveld 408576698