Index: chrome/browser/speech/extension_api/tts_extension_api.cc |
diff --git a/chrome/browser/speech/extension_api/tts_extension_api.cc b/chrome/browser/speech/extension_api/tts_extension_api.cc |
index 26160e97c6029da3dd91754438539fb5f3768a6e..bfaf3526e746dc629b3dece13a40d7eeb56ab1e2 100644 |
--- a/chrome/browser/speech/extension_api/tts_extension_api.cc |
+++ b/chrome/browser/speech/extension_api/tts_extension_api.cc |
@@ -138,7 +138,7 @@ void TtsExtensionEventHandler::OnTtsEvent(Utterance* utterance, |
details->SetBoolean(constants::kIsFinalEventKey, utterance->finished()); |
std::unique_ptr<base::ListValue> arguments(new base::ListValue()); |
- arguments->Set(0, details.release()); |
+ arguments->Append(std::move(details)); |
std::unique_ptr<extensions::Event> event( |
new extensions::Event(::extensions::events::TTS_ON_EVENT, |