diff options
author | dmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-08-19 22:28:00 +0000 |
---|---|---|
committer | dmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-08-19 22:29:07 +0000 |
commit | 52aa9db0960cafced344e3c1a578c1bf568b48c7 (patch) | |
tree | 0e497def2c0dcead88c764b941d82d2f1e937b5a /chrome/browser/speech | |
parent | aa483d89f1145d5b227a67f3637c9e2a60003a1f (diff) | |
download | chromium_src-52aa9db0960cafced344e3c1a578c1bf568b48c7.zip chromium_src-52aa9db0960cafced344e3c1a578c1bf568b48c7.tar.gz chromium_src-52aa9db0960cafced344e3c1a578c1bf568b48c7.tar.bz2 |
Use leaky singleton traits for TtsPlatformImplAndroid.
See bug for details - similar issue as http://crbug.com/122026
BUG=368018
Review URL: https://codereview.chromium.org/434753002
Cr-Commit-Position: refs/heads/master@{#290678}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@290678 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/speech')
-rw-r--r-- | chrome/browser/speech/tts_android.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/speech/tts_android.cc b/chrome/browser/speech/tts_android.cc index e196e8d..be3592c 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 |