Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(137)

Unified Diff: third_party/WebKit/Source/modules/sensor/SensorProxy.cpp

Issue 2614663008: Migrate WTF::Vector::append() to ::push_back() [part 13 of N] (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 0aad49f49fec6ca293ac1df2b1787a5be26ca9f6..ca953a0af354e9f4d43328dda1ce6520ebee87a1 100644
--- a/third_party/WebKit/Source/modules/sensor/SensorProxy.cpp
+++ b/third_party/WebKit/Source/modules/sensor/SensorProxy.cpp
@@ -242,7 +242,7 @@ void SensorProxy::onAddConfigurationCompleted(
std::unique_ptr<Function<void(bool)>> callback,
bool result) {
if (result) {
- m_frequenciesUsed.append(frequency);
+ m_frequenciesUsed.push_back(frequency);
std::sort(m_frequenciesUsed.begin(), m_frequenciesUsed.end());
if (isActive())
m_readingUpdater->start();

Powered by Google App Engine
This is Rietveld 408576698