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

Unified Diff: content/renderer/pepper/pepper_platform_audio_output_impl.h

Issue 10071038: RefCounted types should not have public destructors, content/browser part 2 (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: 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,

Powered by Google App Engine
This is Rietveld 408576698