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

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

Issue 2656343002: Replace [CallWith=ExecutionContext] with [CallWith=ScriptState] (Closed)
Patch Set: Few more Created 3 years, 11 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/peerconnection/RTCPeerConnection.h
diff --git a/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.h b/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.h
index 413f2707d5289d0cc343c35002cf2fed5b496de3..987ef0f61064bd79383491161abb3d2721ee0106 100644
--- a/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.h
+++ b/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.h
@@ -108,9 +108,7 @@ class RTCPeerConnection final : public EventTargetWithInlineData,
String signalingState() const;
- void setConfiguration(ExecutionContext*,
- const RTCConfiguration&,
- ExceptionState&);
+ void setConfiguration(ScriptState*, const RTCConfiguration&, ExceptionState&);
// Certificate management
// http://w3c.github.io/webrtc-pc/#sec.cert-mgmt
@@ -136,7 +134,7 @@ class RTCPeerConnection final : public EventTargetWithInlineData,
MediaStream* getStreamById(const String& streamId);
- void addStream(ExecutionContext*,
+ void addStream(ScriptState*,
MediaStream*,
const Dictionary& mediaConstraints,
ExceptionState&);
@@ -148,7 +146,7 @@ class RTCPeerConnection final : public EventTargetWithInlineData,
MediaStreamTrack* selector = nullptr);
ScriptPromise getStats(ScriptState*);
- RTCDataChannel* createDataChannel(ExecutionContext*,
+ RTCDataChannel* createDataChannel(ScriptState*,
String label,
const Dictionary& dataChannelDict,
ExceptionState&);

Powered by Google App Engine
This is Rietveld 408576698