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

Unified Diff: Source/modules/mediastream/RTCStatsCallback.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/RTCStatsCallback.h
diff --git a/Source/modules/mediastream/RTCStatsCallback.h b/Source/modules/mediastream/RTCStatsCallback.h
index 30d85d523aa0f083d3f8cae087f513327da3841f..382200a68ade1c5cea7de9f71ae3f4a52e3f81cc 100644
--- a/Source/modules/mediastream/RTCStatsCallback.h
+++ b/Source/modules/mediastream/RTCStatsCallback.h
@@ -25,13 +25,11 @@
#ifndef RTCStatsCallback_h
#define RTCStatsCallback_h
-#include "wtf/RefCounted.h"
-
namespace WebCore {
class RTCStatsResponse;
-class RTCStatsCallback : public RefCounted<RTCStatsCallback> {
+class RTCStatsCallback {
public:
virtual ~RTCStatsCallback() { }
virtual bool handleEvent(RTCStatsResponse*) = 0;
« no previous file with comments | « Source/modules/mediastream/RTCSessionDescriptionRequestImpl.cpp ('k') | Source/modules/mediastream/RTCStatsRequestImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698