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

Unified Diff: third_party/WebKit/Source/modules/bluetooth/Bluetooth.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/bluetooth/Bluetooth.cpp
diff --git a/third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp b/third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp
index b28791ac4230a57bc40261193f3c5eee41baac04..ac700a466c6ca5967edc954a55ef91ee1332ba24 100644
--- a/third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp
+++ b/third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp
@@ -62,7 +62,7 @@ static void canonicalizeFilter(
BluetoothUUID::getService(service, exceptionState);
if (exceptionState.hadException())
return;
- canonicalizedFilter->services->append(validatedService);
+ canonicalizedFilter->services->push_back(validatedService);
}
}
@@ -128,7 +128,7 @@ static void convertRequestDeviceOptions(
if (exceptionState.hadException())
return;
- result->filters.value().append(std::move(canonicalizedFilter));
+ result->filters.value().push_back(std::move(canonicalizedFilter));
}
}
@@ -139,7 +139,7 @@ static void convertRequestDeviceOptions(
BluetoothUUID::getService(optionalService, exceptionState);
if (exceptionState.hadException())
return;
- result->optional_services.append(validatedOptionalService);
+ result->optional_services.push_back(validatedOptionalService);
}
}
}

Powered by Google App Engine
This is Rietveld 408576698