Index: third_party/WebKit/Source/core/style/ComputedStyle.cpp |
diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.cpp b/third_party/WebKit/Source/core/style/ComputedStyle.cpp |
index 0f74381cfd16e87b85a31b55d934fdf427d52728..13bdb1209f8c4ff470f914dc81760958b086b75e 100644 |
--- a/third_party/WebKit/Source/core/style/ComputedStyle.cpp |
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.cpp |
@@ -450,7 +450,7 @@ void ComputedStyle::removeCachedPseudoStyle(PseudoId pid) { |
for (size_t i = 0; i < m_cachedPseudoStyles->size(); ++i) { |
ComputedStyle* pseudoStyle = m_cachedPseudoStyles->at(i).get(); |
if (pseudoStyle->styleType() == pid) { |
- m_cachedPseudoStyles->remove(i); |
+ m_cachedPseudoStyles->erase(i); |
return; |
} |
} |