Index: third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.h |
diff --git a/third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.h b/third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.h |
index 06a9e7878d3ebece1ec0bdffc7bed1e933934cae..4080d6b3fb86b845fee88eaead15ced70f066a13 100644 |
--- a/third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.h |
+++ b/third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.h |
@@ -71,9 +71,9 @@ public: |
static RTCPeerConnection* create(ExecutionContext*, const Dictionary&, const Dictionary&, ExceptionState&); |
~RTCPeerConnection() override; |
- void createOffer(ExecutionContext*, RTCSessionDescriptionCallback*, RTCErrorCallback*, const Dictionary&, ExceptionState&); |
+ void createOffer(ExecutionContext*, RTCSessionDescriptionCallback*, RTCErrorCallback*, const Dictionary&); |
- void createAnswer(ExecutionContext*, RTCSessionDescriptionCallback*, RTCErrorCallback*, const Dictionary&, ExceptionState&); |
+ void createAnswer(ExecutionContext*, RTCSessionDescriptionCallback*, RTCErrorCallback*, const Dictionary&); |
ScriptPromise setLocalDescription(ScriptState*, const RTCSessionDescriptionInit&); |
ScriptPromise setLocalDescription(ScriptState*, RTCSessionDescription*, VoidCallback*, RTCErrorCallback*); |
@@ -178,7 +178,7 @@ private: |
RTCPeerConnection(ExecutionContext*, RTCConfiguration*, WebMediaConstraints, ExceptionState&); |
static RTCConfiguration* parseConfiguration(const Dictionary&, ExceptionState&); |
- static RTCOfferOptions* parseOfferOptions(const Dictionary&, ExceptionState&); |
+ static RTCOfferOptions* parseOfferOptions(const Dictionary&, RTCErrorCallback*, bool& hadError); |
void scheduleDispatchEvent(PassRefPtrWillBeRawPtr<Event>); |
void scheduleDispatchEvent(PassRefPtrWillBeRawPtr<Event>, PassOwnPtr<BoolFunction>); |