| Index: third_party/WebKit/Source/core/svg/animation/SVGSMILElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/svg/animation/SVGSMILElement.cpp b/third_party/WebKit/Source/core/svg/animation/SVGSMILElement.cpp
|
| index 9f52f11b9453d9e1cc4ae6287fcbcff364f7f8b5..70dd53c2945f91f3fac4ed4c3631c36196b31cb2 100644
|
| --- a/third_party/WebKit/Source/core/svg/animation/SVGSMILElement.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/animation/SVGSMILElement.cpp
|
| @@ -279,7 +279,7 @@ static inline void clearTimesWithDynamicOrigins(
|
| Vector<SMILTimeWithOrigin>& timeList) {
|
| for (int i = timeList.size() - 1; i >= 0; --i) {
|
| if (timeList[i].originIsScript())
|
| - timeList.remove(i);
|
| + timeList.erase(i);
|
| }
|
| }
|
|
|
| @@ -1240,7 +1240,7 @@ void SVGSMILElement::dispatchPendingEvent(const AtomicString& eventType) {
|
| eventType == EventTypeNames::repeatEvent || eventType == "repeatn");
|
| if (eventType == "repeatn") {
|
| unsigned repeatEventCount = m_repeatEventCountList.front();
|
| - m_repeatEventCountList.remove(0);
|
| + m_repeatEventCountList.erase(0);
|
| dispatchEvent(RepeatEvent::create(eventType, repeatEventCount));
|
| } else {
|
| dispatchEvent(Event::create(eventType));
|
|
|