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

Unified Diff: content/browser/speech/speech_recognition_manager_impl.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: content/browser/speech/speech_recognition_manager_impl.h
diff --git a/content/browser/speech/speech_recognition_manager_impl.h b/content/browser/speech/speech_recognition_manager_impl.h
index abb451ed6ddde28a66dce34666f6673d3b28aede..3f1ad69cab7d927962a83c74e89db348c37a0fbc 100644
--- a/content/browser/speech/speech_recognition_manager_impl.h
+++ b/content/browser/speech/speech_recognition_manager_impl.h
@@ -99,7 +99,10 @@ class CONTENT_EXPORT SpeechRecognitionManagerImpl :
protected:
// BrowserMainLoop is the only one allowed to istantiate and free us.
friend class content::BrowserMainLoop;
- friend class scoped_ptr<SpeechRecognitionManagerImpl>; // Needed for dtor.
+
+ // Needed for dtor.
+ friend struct base::DefaultDeleter<SpeechRecognitionManagerImpl>;
+
SpeechRecognitionManagerImpl();
virtual ~SpeechRecognitionManagerImpl();

Powered by Google App Engine
This is Rietveld 408576698