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

Unified Diff: third_party/WebKit/Source/modules/presentation/PresentationConnection.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/presentation/PresentationConnection.cpp
diff --git a/third_party/WebKit/Source/modules/presentation/PresentationConnection.cpp b/third_party/WebKit/Source/modules/presentation/PresentationConnection.cpp
index ccb119b60087002e38e4f80e5a7d1a903550d866..d06f09efdab60a23a2698f06680195b1b508655f 100644
--- a/third_party/WebKit/Source/modules/presentation/PresentationConnection.cpp
+++ b/third_party/WebKit/Source/modules/presentation/PresentationConnection.cpp
@@ -266,7 +266,7 @@ void PresentationConnection::send(const String& message,
if (!canSendMessage(exceptionState))
return;
- m_messages.append(new Message(message));
+ m_messages.push_back(new Message(message));
handleMessageQueue();
}
@@ -276,7 +276,7 @@ void PresentationConnection::send(DOMArrayBuffer* arrayBuffer,
if (!canSendMessage(exceptionState))
return;
- m_messages.append(new Message(arrayBuffer));
+ m_messages.push_back(new Message(arrayBuffer));
handleMessageQueue();
}
@@ -286,7 +286,7 @@ void PresentationConnection::send(DOMArrayBufferView* arrayBufferView,
if (!canSendMessage(exceptionState))
return;
- m_messages.append(new Message(arrayBufferView->buffer()));
+ m_messages.push_back(new Message(arrayBufferView->buffer()));
handleMessageQueue();
}
@@ -295,7 +295,7 @@ void PresentationConnection::send(Blob* data, ExceptionState& exceptionState) {
if (!canSendMessage(exceptionState))
return;
- m_messages.append(new Message(data->blobDataHandle()));
+ m_messages.push_back(new Message(data->blobDataHandle()));
handleMessageQueue();
}

Powered by Google App Engine
This is Rietveld 408576698