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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/RejectedPromises.cpp

Issue 2743023002: Migrate WTF::Deque::append() to ::push_back() (Closed)
Patch Set: rebase Created 3 years, 9 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/bindings/core/v8/RejectedPromises.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/RejectedPromises.cpp b/third_party/WebKit/Source/bindings/core/v8/RejectedPromises.cpp
index 8a00588265ccbc9a0108337ab1e5920571839a5f..87fcf6ecdf4bc45b4b1bdd9fd6306815b193ca12 100644
--- a/third_party/WebKit/Source/bindings/core/v8/RejectedPromises.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/RejectedPromises.cpp
@@ -194,9 +194,9 @@ void RejectedPromises::rejectedWithNoHandler(
const String& errorMessage,
std::unique_ptr<SourceLocation> location,
AccessControlStatus corsStatus) {
- m_queue.append(Message::create(scriptState, data.GetPromise(),
- data.GetValue(), errorMessage,
- std::move(location), corsStatus));
+ m_queue.push_back(Message::create(scriptState, data.GetPromise(),
+ data.GetValue(), errorMessage,
+ std::move(location), corsStatus));
}
void RejectedPromises::handlerAdded(v8::PromiseRejectMessage data) {
« no previous file with comments | « no previous file | third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698