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

Unified Diff: chrome/browser/speech/tts_android.cc

Issue 434753002: Use leaky singleton traits for TtsPlatformImplAndroid. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/speech/tts_android.cc
diff --git a/chrome/browser/speech/tts_android.cc b/chrome/browser/speech/tts_android.cc
index e196e8d87dc1d8a9e7d48b6c13583fe6d6830303..be3592cc56e87e4788a67b0bee9d566900266163 100644
--- a/chrome/browser/speech/tts_android.cc
+++ b/chrome/browser/speech/tts_android.cc
@@ -136,7 +136,8 @@ void TtsPlatformImplAndroid::SendFinalTtsEvent(
// static
TtsPlatformImplAndroid* TtsPlatformImplAndroid::GetInstance() {
- return Singleton<TtsPlatformImplAndroid>::get();
+ return Singleton<TtsPlatformImplAndroid,
+ LeakySingletonTraits<TtsPlatformImplAndroid> >::get();
}
// static
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698