Index: third_party/WebKit/Source/core/css/CSSGradientValue.cpp |
diff --git a/third_party/WebKit/Source/core/css/CSSGradientValue.cpp b/third_party/WebKit/Source/core/css/CSSGradientValue.cpp |
index 1ea56255e1633f4a5f5ad9a4bb33f9a085616643..a9b9db15dcd57ee9ad61be1be86f1cd3b8c3b125 100644 |
--- a/third_party/WebKit/Source/core/css/CSSGradientValue.cpp |
+++ b/third_party/WebKit/Source/core/css/CSSGradientValue.cpp |
@@ -190,7 +190,7 @@ static void replaceColorHintsWithColorStops( |
ASSERT(offsetLeft <= offset && offset <= offsetRight); |
if (WebCoreFloatNearlyEqual(leftDist, rightDist)) { |
- stops.remove(x); |
+ stops.erase(x); |
--indexOffset; |
continue; |
} |
@@ -231,7 +231,7 @@ static void replaceColorHintsWithColorStops( |
} |
// Replace the color hint with the new color stops. |
- stops.remove(x); |
+ stops.erase(x); |
stops.insert(x, newStops, 9); |
indexOffset += 8; |
} |