Chromium Code Reviews| Index: Source/modules/mediastream/RTCSessionDescriptionRequestImpl.h |
| diff --git a/Source/modules/mediastream/RTCSessionDescriptionRequestImpl.h b/Source/modules/mediastream/RTCSessionDescriptionRequestImpl.h |
| index 80ebe8cb5d758e96c727c14bf247760112eab364..12da5f3814fea6dcdaaeabb8ff55dd0d0aa7ccc0 100644 |
| --- a/Source/modules/mediastream/RTCSessionDescriptionRequestImpl.h |
| +++ b/Source/modules/mediastream/RTCSessionDescriptionRequestImpl.h |
| @@ -48,7 +48,7 @@ class RTCSessionDescriptionCallback; |
| class RTCSessionDescriptionRequestImpl FINAL : public RTCSessionDescriptionRequest, public ActiveDOMObject { |
| public: |
| - static PassRefPtr<RTCSessionDescriptionRequestImpl> create(ExecutionContext*, PassOwnPtr<RTCSessionDescriptionCallback>, PassOwnPtr<RTCErrorCallback>); |
| + static PassRefPtr<RTCSessionDescriptionRequestImpl> create(ExecutionContext*, RTCPeerConnection*, PassOwnPtr<RTCSessionDescriptionCallback>, PassOwnPtr<RTCErrorCallback>); |
| virtual ~RTCSessionDescriptionRequestImpl(); |
| virtual void requestSucceeded(const blink::WebRTCSessionDescription&) OVERRIDE; |
| @@ -58,12 +58,15 @@ public: |
| virtual void stop() OVERRIDE; |
| private: |
| - RTCSessionDescriptionRequestImpl(ExecutionContext*, PassOwnPtr<RTCSessionDescriptionCallback>, PassOwnPtr<RTCErrorCallback>); |
| + RTCSessionDescriptionRequestImpl(ExecutionContext*, RTCPeerConnection*, PassOwnPtr<RTCSessionDescriptionCallback>, PassOwnPtr<RTCErrorCallback>); |
| void clear(); |
| OwnPtr<RTCSessionDescriptionCallback> m_successCallback; |
| OwnPtr<RTCErrorCallback> m_errorCallback; |
| + |
| + // TODO - BEFORE COMMIT: Raw pointer OK? |
| + RTCPeerConnection* m_requester; |
|
haraken
2014/06/13 01:23:00
I guess this needs to be a RefPtr. Otherwise, the
Henrik Grunell
2014/06/13 07:50:46
Well, it should have been prevented with the ref c
|
| }; |
| } // namespace WebCore |