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

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

Issue 172103004: Run SPD in a single-threaded mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 6 years, 10 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_linux.cc
===================================================================
--- chrome/browser/speech/tts_linux.cc (revision 252019)
+++ chrome/browser/speech/tts_linux.cc (working copy)
@@ -110,7 +110,7 @@
// http://crbug.com/317360
ANNOTATE_SCOPED_MEMORY_LEAK;
conn_ = libspeechd_loader_.spd_open(
- "chrome", "extension_api", NULL, SPD_MODE_THREADED);
+ "chrome", "extension_api", NULL, SPD_MODE_SINGLE);
}
if (!conn_)
return;
@@ -145,7 +145,7 @@
if (conn_)
libspeechd_loader_.spd_close(conn_);
conn_ = libspeechd_loader_.spd_open(
- "chrome", "extension_api", NULL, SPD_MODE_THREADED);
+ "chrome", "extension_api", NULL, SPD_MODE_SINGLE);
}
bool TtsPlatformImplLinux::PlatformImplAvailable() {
« 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