Index: chrome/common/extensions/api/spellcheck/spellcheck_handler.cc |
diff --git a/chrome/common/extensions/api/spellcheck/spellcheck_handler.cc b/chrome/common/extensions/api/spellcheck/spellcheck_handler.cc |
index 53d4acff304d8abea798013ed0f7e30cb534d449..f7e7867e466d03c7de6449a3cbc39c358bdc697e 100644 |
--- a/chrome/common/extensions/api/spellcheck/spellcheck_handler.cc |
+++ b/chrome/common/extensions/api/spellcheck/spellcheck_handler.cc |
@@ -4,6 +4,8 @@ |
#include "chrome/common/extensions/api/spellcheck/spellcheck_handler.h" |
+#include <memory> |
+ |
#include "base/strings/utf_string_conversions.h" |
#include "extensions/common/manifest_constants.h" |
@@ -31,7 +33,7 @@ bool SpellcheckHandler::Parse(Extension* extension, base::string16* error) { |
*error = base::ASCIIToUTF16(errors::kInvalidSpellcheck); |
return false; |
} |
- scoped_ptr<SpellcheckDictionaryInfo> spellcheck_info( |
+ std::unique_ptr<SpellcheckDictionaryInfo> spellcheck_info( |
new SpellcheckDictionaryInfo); |
if (!spellcheck_value->HasKey(keys::kSpellcheckDictionaryLanguage) || |
!spellcheck_value->GetString(keys::kSpellcheckDictionaryLanguage, |