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

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

Issue 2960673004: Templatize NGInlineItemsBuilder to take a OffsetMappingBuilder parameter (Closed)
Patch Set: Move EmptyOffsetMappingBuilder to ng/inline/ Created 3 years, 6 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
« no previous file with comments | « third_party/WebKit/Source/core/layout/ng/inline/ng_inline_items_builder.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/layout/ng/inline/ng_inline_node.h
diff --git a/third_party/WebKit/Source/core/layout/ng/inline/ng_inline_node.h b/third_party/WebKit/Source/core/layout/ng/inline/ng_inline_node.h
index f203a73af625672b4ba73c6e0c4f7ab8b38fc8be..d7c568b518b2e55e40ce37e217312648e8e6b9de 100644
--- a/third_party/WebKit/Source/core/layout/ng/inline/ng_inline_node.h
+++ b/third_party/WebKit/Source/core/layout/ng/inline/ng_inline_node.h
@@ -15,6 +15,10 @@
namespace blink {
+template <typename OffsetMappingBuilder>
+class NGInlineItemsBuilderTemplate;
+
+class EmptyOffsetMappingBuilder;
class LayoutBlockFlow;
class LayoutNGBlockFlow;
class LayoutObject;
@@ -22,7 +26,8 @@ struct MinMaxContentSize;
class NGConstraintSpace;
class NGInlineItem;
class NGInlineItemRange;
-class NGInlineItemsBuilder;
+using NGInlineItemsBuilder =
+ NGInlineItemsBuilderTemplate<EmptyOffsetMappingBuilder>;
class NGLayoutResult;
// Represents an anonymous block box to be laid out, that contains consecutive
« no previous file with comments | « third_party/WebKit/Source/core/layout/ng/inline/ng_inline_items_builder.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698