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

Unified Diff: third_party/WebKit/Source/core/dom/ExecutionContext.cpp

Issue 2574773002: Migrate WTF::Vector::append() to ::push_back() [part 4 of N] (Closed)
Patch Set: rebase Created 4 years 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/core/dom/ExecutionContext.cpp
diff --git a/third_party/WebKit/Source/core/dom/ExecutionContext.cpp b/third_party/WebKit/Source/core/dom/ExecutionContext.cpp
index dc9c24da8fc39e1faa91a2ecbd63095d71e3c9aa..4d59b66036b2f3d443a5c1e3420299281b08144b 100644
--- a/third_party/WebKit/Source/core/dom/ExecutionContext.cpp
+++ b/third_party/WebKit/Source/core/dom/ExecutionContext.cpp
@@ -104,7 +104,7 @@ bool ExecutionContext::shouldSanitizeScriptError(
void ExecutionContext::dispatchErrorEvent(ErrorEvent* errorEvent,
AccessControlStatus corsStatus) {
if (m_inDispatchErrorEvent) {
- m_pendingExceptions.append(errorEvent);
+ m_pendingExceptions.push_back(errorEvent);
return;
}

Powered by Google App Engine
This is Rietveld 408576698