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

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

Issue 2562703003: Make AlgorithmForInputNode use original constraint space (Closed)
Patch Set: Make AlgorithmForInputNode use container constraint space Created 4 years 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 45fa2bc31887c0431d49c54618fc1c8fdac2babd..7bb57426b26c29c68a5d91f297553058927d663d 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
@@ -27,7 +27,7 @@ class CORE_EXPORT 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(const NGConstraintSpace*, NGFragmentBase**) = 0;
+ virtual bool Layout(NGConstraintSpace*, NGFragmentBase**) = 0;
// Returns the next sibling.
virtual NGLayoutInputNode* NextSibling() = 0;
@@ -37,7 +37,7 @@ class CORE_EXPORT NGLayoutInputNode
}
static NGLayoutAlgorithm* AlgorithmForInputNode(NGLayoutInputNode*,
- const NGConstraintSpace*);
+ NGConstraintSpace*);
DEFINE_INLINE_VIRTUAL_TRACE() {}

Powered by Google App Engine
This is Rietveld 408576698