| Index: components/spellcheck/renderer/spellcheck_provider_mac_unittest.cc
|
| diff --git a/components/spellcheck/renderer/spellcheck_provider_mac_unittest.cc b/components/spellcheck/renderer/spellcheck_provider_mac_unittest.cc
|
| index 221c182c23c9087713ac0cc080fd13fc69775567..a63411ec02a9ee61b98c8c1b4bace03780877e10 100644
|
| --- a/components/spellcheck/renderer/spellcheck_provider_mac_unittest.cc
|
| +++ b/components/spellcheck/renderer/spellcheck_provider_mac_unittest.cc
|
| @@ -40,7 +40,7 @@
|
|
|
| SpellCheckHostMsg_RequestTextCheck::Param read_parameters1;
|
| bool ok = SpellCheckHostMsg_RequestTextCheck::Read(
|
| - provider_.messages_[0].get(), &read_parameters1);
|
| + provider_.messages_[0], &read_parameters1);
|
| EXPECT_TRUE(ok);
|
| EXPECT_EQ(std::get<2>(read_parameters1), base::ASCIIToUTF16("hello "));
|
|
|
| @@ -64,13 +64,13 @@
|
|
|
| SpellCheckHostMsg_RequestTextCheck::Param read_parameters1;
|
| bool ok = SpellCheckHostMsg_RequestTextCheck::Read(
|
| - provider_.messages_[0].get(), &read_parameters1);
|
| + provider_.messages_[0], &read_parameters1);
|
| EXPECT_TRUE(ok);
|
| EXPECT_EQ(std::get<2>(read_parameters1), base::UTF8ToUTF16("hello "));
|
|
|
| SpellCheckHostMsg_RequestTextCheck::Param read_parameters2;
|
| - ok = SpellCheckHostMsg_RequestTextCheck::Read(provider_.messages_[1].get(),
|
| - &read_parameters2);
|
| + ok = SpellCheckHostMsg_RequestTextCheck::Read(
|
| + provider_.messages_[1], &read_parameters2);
|
| EXPECT_TRUE(ok);
|
| EXPECT_EQ(std::get<2>(read_parameters2), base::UTF8ToUTF16("bye "));
|
|
|
|
|