summaryrefslogtreecommitdiffstats
path: root/chrome/browser/speech
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-17 06:28:08 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-17 06:28:08 +0000
commit36b7914e8fa4ca5b0f83a44456c633223560c03d (patch)
tree5d77c80c6d0c82d0f8b72fe02f2711296f98eeb5 /chrome/browser/speech
parentb646c85e605ac23121bc6b6ef6d128ea821ff86a (diff)
downloadchromium_src-36b7914e8fa4ca5b0f83a44456c633223560c03d.zip
chromium_src-36b7914e8fa4ca5b0f83a44456c633223560c03d.tar.gz
chromium_src-36b7914e8fa4ca5b0f83a44456c633223560c03d.tar.bz2
Remove many instances of CreateBooleanValue.
BUG=160586 Review URL: https://codereview.chromium.org/399493002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@283659 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/speech')
-rw-r--r--chrome/browser/speech/extension_api/tts_extension_api.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/speech/extension_api/tts_extension_api.cc b/chrome/browser/speech/extension_api/tts_extension_api.cc
index 4d25916..094b233 100644
--- a/chrome/browser/speech/extension_api/tts_extension_api.cc
+++ b/chrome/browser/speech/extension_api/tts_extension_api.cc
@@ -302,8 +302,8 @@ bool TtsResumeFunction::RunSync() {
}
bool TtsIsSpeakingFunction::RunSync() {
- SetResult(base::Value::CreateBooleanValue(
- TtsController::GetInstance()->IsSpeaking()));
+ SetResult(
+ new base::FundamentalValue(TtsController::GetInstance()->IsSpeaking()));
return true;
}