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

Unified Diff: Source/modules/mediastream/RTCErrorCallback.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/RTCErrorCallback.h
diff --git a/Source/modules/mediastream/RTCErrorCallback.h b/Source/modules/mediastream/RTCErrorCallback.h
index eeb13234232b2e901777e30956bbd6e23f004220..dd7b840dfe0b5bf6b3ae34214e025835c469f92f 100644
--- a/Source/modules/mediastream/RTCErrorCallback.h
+++ b/Source/modules/mediastream/RTCErrorCallback.h
@@ -31,12 +31,11 @@
#ifndef RTCErrorCallback_h
#define RTCErrorCallback_h
-#include "wtf/RefCounted.h"
#include "wtf/text/WTFString.h"
namespace WebCore {
-class RTCErrorCallback : public RefCounted<RTCErrorCallback> {
+class RTCErrorCallback {
public:
virtual ~RTCErrorCallback() { }
virtual bool handleEvent(const String& errorInformation) = 0;
« no previous file with comments | « Source/modules/mediastream/NavigatorUserMediaSuccessCallback.h ('k') | Source/modules/mediastream/RTCPeerConnection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698