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

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_layout_input_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_layout_input_node.h
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_layout_input_node.h b/third_party/WebKit/Source/core/layout/ng/ng_layout_input_node.h
index f18a7864cdabadea0396bdbd577d7a75a66dee8d..ed282c8176d80d721885162ebee8947cc7259833 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_layout_input_node.h
+++ b/third_party/WebKit/Source/core/layout/ng/ng_layout_input_node.h
@@ -25,7 +25,7 @@ class CORE_EXPORT NGLayoutInputNode
virtual ~NGLayoutInputNode(){};
// Performs layout on this input node, will return a new fragment.
- virtual NGPhysicalFragment* Layout(NGConstraintSpace*) = 0;
+ virtual RefPtr<NGPhysicalFragment> Layout(NGConstraintSpace*) = 0;
// Returns the next sibling.
virtual NGLayoutInputNode* NextSibling() = 0;

Powered by Google App Engine
This is Rietveld 408576698