Index: third_party/WebKit/Source/core/layout/ng/ng_layout_inline_items_builder.cc |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_layout_inline_items_builder.cc b/third_party/WebKit/Source/core/layout/ng/ng_layout_inline_items_builder.cc |
index 96c2462bd8d18d5107c91b1288ad1efe86117be7..cd83ca1e370aee21197006c0938519d3302212a3 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_layout_inline_items_builder.cc |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_layout_inline_items_builder.cc |
@@ -255,7 +255,7 @@ void NGLayoutInlineItemsBuilder::RemoveTrailingCollapsibleSpace( |
if (item.Length() > 1) |
item.SetEndOffset(new_size); |
else |
- items_->remove(i); |
+ items_->erase(i); |
break; |
} |
if (!item.Length()) { |