| Index: third_party/WebKit/Source/core/editing/EditingStyle.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/EditingStyle.cpp b/third_party/WebKit/Source/core/editing/EditingStyle.cpp
|
| index b9f9a18c6d1d9ffef8fefaf7ec98ae9bb6be62c8..8bb2bf669d48aa1c4776f6a748bfc344517720ad 100644
|
| --- a/third_party/WebKit/Source/core/editing/EditingStyle.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/EditingStyle.cpp
|
| @@ -104,7 +104,7 @@ static const Vector<CSSPropertyID>& allEditingProperties() {
|
| staticEditingProperties, WTF_ARRAY_LENGTH(staticEditingProperties),
|
| properties);
|
| if (RuntimeEnabledFeatures::css3TextDecorationsEnabled())
|
| - properties.remove(properties.find(CSSPropertyTextDecoration));
|
| + properties.erase(properties.find(CSSPropertyTextDecoration));
|
| }
|
| return properties;
|
| }
|
| @@ -117,7 +117,7 @@ static const Vector<CSSPropertyID>& inheritableEditingProperties() {
|
| properties);
|
| for (size_t index = 0; index < properties.size();) {
|
| if (!CSSPropertyMetadata::isInheritedProperty(properties[index])) {
|
| - properties.remove(index);
|
| + properties.erase(index);
|
| continue;
|
| }
|
| ++index;
|
|
|