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

Unified Diff: third_party/WebKit/Source/modules/vr/VRDisplay.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
Index: third_party/WebKit/Source/modules/vr/VRDisplay.cpp
diff --git a/third_party/WebKit/Source/modules/vr/VRDisplay.cpp b/third_party/WebKit/Source/modules/vr/VRDisplay.cpp
index 97475f176e088a4c1bc1693f42d2e1154cb4b7d6..0c85c13a84877f6bde86a1ac2583841d2cf1ddd4 100644
--- a/third_party/WebKit/Source/modules/vr/VRDisplay.cpp
+++ b/third_party/WebKit/Source/modules/vr/VRDisplay.cpp
@@ -298,7 +298,7 @@ ScriptPromise VRDisplay::requestPresent(ScriptState* scriptState,
// If we are waiting on the results of a previous requestPresent call don't
// fire a new request, just cache the resolver and resolve it when the
// original request returns.
- m_pendingPresentResolvers.append(resolver);
+ m_pendingPresentResolvers.push_back(resolver);
} else if (firstPresent) {
bool secureContext = scriptState->getExecutionContext()->isSecureContext();
if (!m_display) {
@@ -309,7 +309,7 @@ ScriptPromise VRDisplay::requestPresent(ScriptState* scriptState,
return promise;
}
- m_pendingPresentResolvers.append(resolver);
+ m_pendingPresentResolvers.push_back(resolver);
m_submit_frame_client_binding.Close();
m_display->RequestPresent(
secureContext,
« no previous file with comments | « third_party/WebKit/Source/modules/vr/VRController.cpp ('k') | third_party/WebKit/Source/modules/webdatabase/Database.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698