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

Unified Diff: media/base/audio_bus.h

Issue 11149006: Extend scoped_ptr to be closer to unique_ptr. Support custom deleters, and deleting arrays. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: utility -> algorithm. Mac needs it. Created 8 years, 2 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/base/audio_bus.h
diff --git a/media/base/audio_bus.h b/media/base/audio_bus.h
index 49bed82e904b8b32384091cf053d0ee9b1cbe888..f979907523b1a8d3468f96284f0f5e20970aa68f 100644
--- a/media/base/audio_bus.h
+++ b/media/base/audio_bus.h
@@ -91,7 +91,7 @@ class MEDIA_EXPORT AudioBus {
void ZeroFramesPartial(int start_frame, int frames);
private:
- friend class scoped_ptr<AudioBus>;
+ friend struct base::DefaultDeleter<AudioBus>;
~AudioBus();
AudioBus(int channels, int frames);

Powered by Google App Engine
This is Rietveld 408576698