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

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

Issue 2282213002: [LayoutNG] Introduce NGPhysicalFragment and make NGFragment a 'view' (Closed)
Patch Set: address comments. Created 4 years, 4 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_algorithm.h
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_layout_algorithm.h b/third_party/WebKit/Source/core/layout/ng/ng_layout_algorithm.h
index e8547c38f95a272fe85aa526760f036b76a8f955..f6a9c5370053fb1ca0b76cd8a1662b8978117369 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_layout_algorithm.h
+++ b/third_party/WebKit/Source/core/layout/ng/ng_layout_algorithm.h
@@ -12,7 +12,7 @@
namespace blink {
class NGConstraintSpace;
-class NGFragment;
+class NGPhysicalFragment;
// Base class for all LayoutNG algorithms.
class CORE_EXPORT NGLayoutAlgorithm
@@ -33,7 +33,7 @@ class CORE_EXPORT NGLayoutAlgorithm
// returns true. The same constraint space has to be passed each time.
// TODO(layout-ng): Should we have a StartLayout function to avoid passing
// the same space for each Layout iteration?
- virtual bool Layout(const NGConstraintSpace*, NGFragment**) = 0;
+ virtual bool Layout(const NGConstraintSpace*, NGPhysicalFragment**) = 0;
DEFINE_INLINE_VIRTUAL_TRACE() {}
};

Powered by Google App Engine
This is Rietveld 408576698