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

Unified Diff: media/base/serial_runner.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 | « media/base/message_loop_factory.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/serial_runner.h
diff --git a/media/base/serial_runner.h b/media/base/serial_runner.h
index 16fa6f3a674a159453c55b09aacfefaaa9352718..a59c7753c9cb489a5e8449153b8e5c3e958c7116 100644
--- a/media/base/serial_runner.h
+++ b/media/base/serial_runner.h
@@ -56,7 +56,7 @@ class SerialRunner {
const Queue& bound_fns, const PipelineStatusCB& done_cb);
private:
- friend class scoped_ptr<SerialRunner>;
+ friend struct base::DefaultDeleter<SerialRunner>;
SerialRunner(const Queue& bound_fns, const PipelineStatusCB& done_cb);
~SerialRunner();
« no previous file with comments | « media/base/message_loop_factory.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698