Index: content/renderer/pepper/pepper_platform_audio_output_impl.h |
diff --git a/content/renderer/pepper/pepper_platform_audio_output_impl.h b/content/renderer/pepper/pepper_platform_audio_output_impl.h |
index 6ad8b80a050f045330e7ce92528604b01457db6c..54762d89125d8e920a8992b62a888e0cedc354e2 100644 |
--- a/content/renderer/pepper/pepper_platform_audio_output_impl.h |
+++ b/content/renderer/pepper/pepper_platform_audio_output_impl.h |
@@ -25,8 +25,6 @@ class PepperPlatformAudioOutputImpl |
public AudioMessageFilter::Delegate, |
public base::RefCountedThreadSafe<PepperPlatformAudioOutputImpl> { |
public: |
- virtual ~PepperPlatformAudioOutputImpl(); |
- |
// Factory function, returns NULL on failure. StreamCreated() will be called |
// when the stream is created. |
static PepperPlatformAudioOutputImpl* Create( |
@@ -40,7 +38,10 @@ class PepperPlatformAudioOutputImpl |
virtual void ShutDown() OVERRIDE; |
private: |
+ friend class base::RefCountedThreadSafe<PepperPlatformAudioOutputImpl>; |
+ |
PepperPlatformAudioOutputImpl(); |
+ virtual ~PepperPlatformAudioOutputImpl(); |
bool Initialize( |
int sample_rate, |