#include "platform/heap/Handle.h"
#include "platform/mediastream/RTCVoidRequest.h"
-namespace WebCore {
+namespace blink {
class RTCErrorCallback;
class RTCPeerConnection;
class RTCVoidRequestImpl FINAL : public RTCVoidRequest, public ActiveDOMObject {
public:
- static PassRefPtr<RTCVoidRequestImpl> create(ExecutionContext*, PassRefPtrWillBeRawPtr<RTCPeerConnection>, PassOwnPtr<VoidCallback>, PassOwnPtr<RTCErrorCallback>);
+ static PassRefPtr<RTCVoidRequestImpl> create(ExecutionContext*, RTCPeerConnection*, PassOwnPtr<VoidCallback>, PassOwnPtr<RTCErrorCallback>);
virtual ~RTCVoidRequestImpl();
// RTCVoidRequest
virtual void stop() OVERRIDE;
private:
- RTCVoidRequestImpl(ExecutionContext*, PassRefPtrWillBeRawPtr<RTCPeerConnection>, PassOwnPtr<VoidCallback>, PassOwnPtr<RTCErrorCallback>);
+ RTCVoidRequestImpl(ExecutionContext*, RTCPeerConnection*, PassOwnPtr<VoidCallback>, PassOwnPtr<RTCErrorCallback>);
void clear();
OwnPtr<VoidCallback> m_successCallback;
OwnPtr<RTCErrorCallback> m_errorCallback;
- RefPtrWillBePersistent<RTCPeerConnection> m_requester;
+ Persistent<RTCPeerConnection> m_requester;
};
-} // namespace WebCore
+} // namespace blink
#endif // RTCVoidRequestImpl_h