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 ebe8f8cdfd8dcd20010462911c8f4e8c5f2f4f95..91022a0f4363799b7abe63971240c319237d2350 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 |
@@ -11,7 +11,7 @@ |
namespace blink { |
class NGConstraintSpace; |
-class NGFragment; |
+class NGPhysicalFragment; |
class NGLayoutAlgorithm; |
// Represents the input to a layout algorithm for a given node. The layout |
@@ -24,10 +24,8 @@ class CORE_EXPORT NGLayoutInputNode |
virtual ~NGLayoutInputNode(){}; |
- // Returns true when done; when this function returns false, it has to be |
- // called again. The out parameter will only be set when this function |
- // returns true. The same constraint space has to be passed each time. |
- virtual bool Layout(NGConstraintSpace*, NGFragment**) = 0; |
+ // Performs layout on this input node, will return a new fragment. |
+ virtual NGPhysicalFragment* Layout(NGConstraintSpace*) = 0; |
// Returns the next sibling. |
virtual NGLayoutInputNode* NextSibling() = 0; |