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

Unified Diff: chrome/browser/speech/extension_api/tts_extension_api_platform.h

Issue 10413054: Make ExtensionTtsPlatformImplWin a leaky singleton to avoid a crash in the destructor. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Add crbug link to comment Created 8 years, 7 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
« no previous file with comments | « no previous file | chrome/browser/speech/extension_api/tts_extension_api_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/speech/extension_api/tts_extension_api_platform.h
diff --git a/chrome/browser/speech/extension_api/tts_extension_api_platform.h b/chrome/browser/speech/extension_api/tts_extension_api_platform.h
index 21397c753020819cd8d38b968fcb7526afaa97b8..26bdbae8c34948ee2f8bc600038f5050b7af7a48 100644
--- a/chrome/browser/speech/extension_api/tts_extension_api_platform.h
+++ b/chrome/browser/speech/extension_api/tts_extension_api_platform.h
@@ -53,6 +53,9 @@ class ExtensionTtsPlatformImpl {
protected:
ExtensionTtsPlatformImpl() {}
+
+ // On some platforms this may be a leaky singleton - do not rely on the
+ // destructor being called! http://crbug.com/122026
virtual ~ExtensionTtsPlatformImpl() {}
std::string error_;
« no previous file with comments | « no previous file | chrome/browser/speech/extension_api/tts_extension_api_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698