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

Unified Diff: media/audio/test_audio_input_controller_factory.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/test_audio_input_controller_factory.h
diff --git a/media/audio/test_audio_input_controller_factory.h b/media/audio/test_audio_input_controller_factory.h
index 2915203650999d53aca6644c7ffc93f585e46dd7..d1a4863d027a1b586a0a2dd996b28479713293df 100644
--- a/media/audio/test_audio_input_controller_factory.h
+++ b/media/audio/test_audio_input_controller_factory.h
@@ -49,7 +49,6 @@ class TestAudioInputController : public AudioInputController {
AudioManager* audio_manager,
EventHandler* event_handler,
SyncWriter* sync_writer);
- virtual ~TestAudioInputController();
// Returns the event handler installed on the AudioInputController.
EventHandler* event_handler() const { return event_handler_; }
@@ -62,6 +61,8 @@ class TestAudioInputController : public AudioInputController {
virtual void Close(const base::Closure& closed_task) OVERRIDE;
private:
+ virtual ~TestAudioInputController();
+
// These are not owned by us and expected to be valid for this object's
// lifetime.
TestAudioInputControllerFactory* factory_;

Powered by Google App Engine
This is Rietveld 408576698