Index: third_party/WebKit/Source/modules/sensor/SensorProxy.cpp |
diff --git a/third_party/WebKit/Source/modules/sensor/SensorProxy.cpp b/third_party/WebKit/Source/modules/sensor/SensorProxy.cpp |
index ea0a9199393487883fbd7d0a361bf38766c5dfe8..5495c0771904aefa8b4bfce6aa9990919f939768 100644 |
--- a/third_party/WebKit/Source/modules/sensor/SensorProxy.cpp |
+++ b/third_party/WebKit/Source/modules/sensor/SensorProxy.cpp |
@@ -261,7 +261,7 @@ void SensorProxy::onRemoveConfigurationCompleted(double frequency, |
return; |
} |
- m_frequenciesUsed.remove(index); |
+ m_frequenciesUsed.erase(index); |
} |
bool SensorProxy::tryReadFromBuffer(device::SensorReading& result) { |