Index: third_party/WebKit/Source/core/inspector/ThreadDebugger.cpp |
diff --git a/third_party/WebKit/Source/core/inspector/ThreadDebugger.cpp b/third_party/WebKit/Source/core/inspector/ThreadDebugger.cpp |
index b65752191a291f7bad9e05fc013dba060e57c494..46daae731a5f39be0dba4ab33a94770f39e2a94a 100644 |
--- a/third_party/WebKit/Source/core/inspector/ThreadDebugger.cpp |
+++ b/third_party/WebKit/Source/core/inspector/ThreadDebugger.cpp |
@@ -459,9 +459,9 @@ void ThreadDebugger::cancelTimer(void* data) { |
for (size_t index = 0; index < m_timerData.size(); ++index) { |
if (m_timerData[index] == data) { |
m_timers[index]->stop(); |
- m_timerCallbacks.remove(index); |
- m_timers.remove(index); |
- m_timerData.remove(index); |
+ m_timerCallbacks.erase(index); |
+ m_timers.erase(index); |
+ m_timerData.erase(index); |
return; |
} |
} |