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

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: rebased Created 8 years 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
« no previous file with comments | « content/browser/speech/speech_recognition_manager_impl.h ('k') | media/base/message_loop_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/audio_bus.h
diff --git a/media/base/audio_bus.h b/media/base/audio_bus.h
index 5ea4e08529800346d0dae77a19c322238f3d2d5d..d94ab38cec90c0195e7f473124edae86b7e58dcd 100644
--- a/media/base/audio_bus.h
+++ b/media/base/audio_bus.h
@@ -93,7 +93,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);
« no previous file with comments | « content/browser/speech/speech_recognition_manager_impl.h ('k') | media/base/message_loop_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698