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

Unified Diff: content/browser/renderer_host/media/media_stream_device_settings.cc

Issue 10068037: RefCounted types should not have public destructors, content/browser part 1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: MSVC fixes Created 8 years, 8 months 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: content/browser/renderer_host/media/media_stream_device_settings.cc
diff --git a/content/browser/renderer_host/media/media_stream_device_settings.cc b/content/browser/renderer_host/media/media_stream_device_settings.cc
index 328a1eb5e8fc9747b286a159f35cf21d9b91f024..032b861806718237242c41279bba6b0de8d95473 100644
--- a/content/browser/renderer_host/media/media_stream_device_settings.cc
+++ b/content/browser/renderer_host/media/media_stream_device_settings.cc
@@ -52,6 +52,9 @@ class ResponseCallbackHelper
}
private:
+ friend class base::RefCountedThreadSafe<ResponseCallbackHelper>;
+ ~ResponseCallbackHelper() {}
+
base::WeakPtr<media_stream::MediaStreamDeviceSettings> settings_;
DISALLOW_COPY_AND_ASSIGN(ResponseCallbackHelper);

Powered by Google App Engine
This is Rietveld 408576698