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

Unified Diff: media/audio/audio_input_controller.h

Issue 10067035: RefCounted types should not have public destructors, media/ and gpu/ edition (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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: media/audio/audio_input_controller.h
diff --git a/media/audio/audio_input_controller.h b/media/audio/audio_input_controller.h
index 8fd69b0fa6299151822f8bc6ec8c97247ff6cb91..2445091c3372c96b1620e704a5c6b1d95dd2fbb5 100644
--- a/media/audio/audio_input_controller.h
+++ b/media/audio/audio_input_controller.h
@@ -114,8 +114,6 @@ class MEDIA_EXPORT AudioInputController
virtual ~Factory() {}
};
- virtual ~AudioInputController();
-
// Factory method for creating an AudioInputController.
// The audio device will be created on the audio thread, and when that is
// done, the event handler will receive an OnCreated() call from that same
@@ -178,6 +176,9 @@ class MEDIA_EXPORT AudioInputController
}
protected:
+ friend class base::RefCountedThreadSafe<AudioInputController>;
+ virtual ~AudioInputController();
+
// Internal state of the source.
enum State {
kEmpty,

Powered by Google App Engine
This is Rietveld 408576698