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

Unified Diff: Source/modules/mediastream/RTCVoidRequestImpl.h

Issue 103083002: Decouple FileSystem and WebSQL callbacks from VoidCallback and it non-refcounted (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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
« no previous file with comments | « Source/modules/mediastream/RTCPeerConnection.cpp ('k') | Source/modules/mediastream/RTCVoidRequestImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/mediastream/RTCVoidRequestImpl.h
diff --git a/Source/modules/mediastream/RTCVoidRequestImpl.h b/Source/modules/mediastream/RTCVoidRequestImpl.h
index 74de5144675ea1f14860d1fba81d1e3e651126a1..1db483fe29441d0eee45608b7f1de40d5cc51dee 100644
--- a/Source/modules/mediastream/RTCVoidRequestImpl.h
+++ b/Source/modules/mediastream/RTCVoidRequestImpl.h
@@ -41,7 +41,7 @@ class VoidCallback;
class RTCVoidRequestImpl : public RTCVoidRequest, public ActiveDOMObject {
public:
- static PassRefPtr<RTCVoidRequestImpl> create(ExecutionContext*, PassRefPtr<VoidCallback>, PassOwnPtr<RTCErrorCallback>);
+ static PassRefPtr<RTCVoidRequestImpl> create(ExecutionContext*, PassOwnPtr<VoidCallback>, PassOwnPtr<RTCErrorCallback>);
virtual ~RTCVoidRequestImpl();
virtual void requestSucceeded();
@@ -51,11 +51,11 @@ public:
virtual void stop() OVERRIDE;
private:
- RTCVoidRequestImpl(ExecutionContext*, PassRefPtr<VoidCallback>, PassOwnPtr<RTCErrorCallback>);
+ RTCVoidRequestImpl(ExecutionContext*, PassOwnPtr<VoidCallback>, PassOwnPtr<RTCErrorCallback>);
void clear();
- RefPtr<VoidCallback> m_successCallback;
+ OwnPtr<VoidCallback> m_successCallback;
OwnPtr<RTCErrorCallback> m_errorCallback;
};
« no previous file with comments | « Source/modules/mediastream/RTCPeerConnection.cpp ('k') | Source/modules/mediastream/RTCVoidRequestImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698