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

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

Issue 2943573002: Make NGInlineItemsBuilder construct whitespace-collapsed offset mapping (Closed)
Patch Set: Wed Jun 28 11:44:29 PDT 2017 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
Index: third_party/WebKit/Source/core/layout/ng/inline/empty_offset_mapping_builder.h
diff --git a/third_party/WebKit/Source/core/layout/ng/inline/empty_offset_mapping_builder.h b/third_party/WebKit/Source/core/layout/ng/inline/empty_offset_mapping_builder.h
index 825ede41c6f6105293891729bfe01dfb7f3a55c4..3a3f38a41b2cb8fe521d21dd6faab3b2aec4d9bd 100644
--- a/third_party/WebKit/Source/core/layout/ng/inline/empty_offset_mapping_builder.h
+++ b/third_party/WebKit/Source/core/layout/ng/inline/empty_offset_mapping_builder.h
@@ -18,6 +18,9 @@ class EmptyOffsetMappingBuilder {
public:
EmptyOffsetMappingBuilder() = default;
+ void AppendIdentityMapping(unsigned) {}
+ void AppendCollapsedMapping(unsigned) {}
+ void CollapseTrailingSpace(unsigned) {}
private:
DISALLOW_COPY_AND_ASSIGN(EmptyOffsetMappingBuilder);

Powered by Google App Engine
This is Rietveld 408576698