| Index: chrome/common/extensions/api/speech/tts_engine_manifest_handler.cc
|
| diff --git a/chrome/common/extensions/api/speech/tts_engine_manifest_handler.cc b/chrome/common/extensions/api/speech/tts_engine_manifest_handler.cc
|
| index 2ecb05c533aa2558afb284d6788b4633b4284871..ccc891be29681d341905f95f62e02a93e54a2750 100644
|
| --- a/chrome/common/extensions/api/speech/tts_engine_manifest_handler.cc
|
| +++ b/chrome/common/extensions/api/speech/tts_engine_manifest_handler.cc
|
| @@ -6,7 +6,8 @@
|
|
|
| #include <stddef.h>
|
|
|
| -#include "base/memory/scoped_ptr.h"
|
| +#include <memory>
|
| +
|
| #include "base/strings/string_number_conversions.h"
|
| #include "base/strings/utf_string_conversions.h"
|
| #include "base/values.h"
|
| @@ -53,7 +54,7 @@ TtsEngineManifestHandler::~TtsEngineManifestHandler() {
|
|
|
| bool TtsEngineManifestHandler::Parse(Extension* extension,
|
| base::string16* error) {
|
| - scoped_ptr<TtsVoices> info(new TtsVoices);
|
| + std::unique_ptr<TtsVoices> info(new TtsVoices);
|
| const base::DictionaryValue* tts_dict = NULL;
|
| if (!extension->manifest()->GetDictionary(keys::kTtsEngine, &tts_dict)) {
|
| *error = base::ASCIIToUTF16(errors::kInvalidTts);
|
|
|