| Index: chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc
|
| diff --git a/chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc b/chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc
|
| index 6006707b8f68412370fe406941e0e8ece976790e..f53f63c8f27daebd953b1acc87a2868397d00292 100644
|
| --- a/chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc
|
| +++ b/chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc
|
| @@ -63,8 +63,7 @@ syncer::SyncDataList GetAllSyncDataNoLimit(
|
|
|
| static std::unique_ptr<KeyedService> BuildSpellcheckService(
|
| content::BrowserContext* profile) {
|
| - return base::WrapUnique(
|
| - new SpellcheckService(static_cast<Profile*>(profile)));
|
| + return base::MakeUnique<SpellcheckService>(static_cast<Profile*>(profile));
|
| }
|
|
|
| class SpellcheckCustomDictionaryTest : public testing::Test {
|
| @@ -911,7 +910,7 @@ TEST_F(SpellcheckCustomDictionaryTest, LoadDuplicatesAfterSync) {
|
| EXPECT_TRUE(custom_dictionary->IsSyncing());
|
|
|
| OnLoaded(*custom_dictionary,
|
| - base::WrapUnique(new std::set<std::string>(change.to_add())));
|
| + base::MakeUnique<std::set<std::string>>(change.to_add()));
|
| EXPECT_EQ(0, error_counter);
|
| EXPECT_TRUE(custom_dictionary->IsSyncing());
|
|
|
|
|