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

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

Issue 85263006: Make IDL Callbacks non-refcounted by default (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Patch for landing Created 7 years, 1 month 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: Source/modules/mediastream/RTCSessionDescriptionCallback.h
diff --git a/Source/modules/mediastream/RTCSessionDescriptionCallback.h b/Source/modules/mediastream/RTCSessionDescriptionCallback.h
index 678daa7b0d0de42a2dc4f0b115412f71b1755d6b..1a9c091226af9c160818e0bca42be1f3569db01e 100644
--- a/Source/modules/mediastream/RTCSessionDescriptionCallback.h
+++ b/Source/modules/mediastream/RTCSessionDescriptionCallback.h
@@ -31,13 +31,11 @@
#ifndef RTCSessionDescriptionCallback_h
#define RTCSessionDescriptionCallback_h
-#include "wtf/RefCounted.h"
-
namespace WebCore {
class RTCSessionDescription;
-class RTCSessionDescriptionCallback : public RefCounted<RTCSessionDescriptionCallback> {
+class RTCSessionDescriptionCallback {
public:
virtual ~RTCSessionDescriptionCallback() { }
virtual bool handleEvent(RTCSessionDescription*) = 0;
« no previous file with comments | « Source/modules/mediastream/RTCPeerConnection.cpp ('k') | Source/modules/mediastream/RTCSessionDescriptionRequestImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698