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

Unified Diff: third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.cpp

Issue 2547053003: s/ passed(...) / WTF::passed(...) / to avoid future ambiguity w/ base::Passed. (Closed)
Patch Set: Rebasing... 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/modules/peerconnection/RTCPeerConnection.cpp
diff --git a/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.cpp b/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.cpp
index e9a15eac46c3e07401d3a8554b946da93e04e576..b2ff3324b92af5b2b69d89cd838b15895910465c 100644
--- a/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.cpp
+++ b/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.cpp
@@ -514,8 +514,8 @@ RTCPeerConnection::RTCPeerConnection(ExecutionContext* context,
return;
}
- m_peerHandler =
- wrapUnique(Platform::current()->createRTCPeerConnectionHandler(this));
+ m_peerHandler = WTF::wrapUnique(
+ Platform::current()->createRTCPeerConnectionHandler(this));
if (!m_peerHandler) {
m_closed = true;
m_stopped = true;
@@ -924,7 +924,7 @@ ScriptPromise RTCPeerConnection::generateCertificate(
DCHECK(!keyParams.isNull());
std::unique_ptr<WebRTCCertificateGenerator> certificateGenerator =
- wrapUnique(Platform::current()->createRTCCertificateGenerator());
+ WTF::wrapUnique(Platform::current()->createRTCCertificateGenerator());
// |keyParams| was successfully constructed, but does the certificate
// generator support these parameters?
@@ -1344,7 +1344,7 @@ void RTCPeerConnection::didAddRemoteDataChannel(
return;
RTCDataChannel* channel =
- RTCDataChannel::create(getExecutionContext(), wrapUnique(handler));
+ RTCDataChannel::create(getExecutionContext(), WTF::wrapUnique(handler));
scheduleDispatchEvent(RTCDataChannelEvent::create(EventTypeNames::datachannel,
false, false, channel));
m_hasDataChannels = true;

Powered by Google App Engine
This is Rietveld 408576698