| Index: content/child/web_data_consumer_handle_impl_unittest.cc
|
| diff --git a/content/child/web_data_consumer_handle_impl_unittest.cc b/content/child/web_data_consumer_handle_impl_unittest.cc
|
| index 7ad46d7f9b7257c791e8eed31ae81c40186cba0b..46a5de9ce211877efb936610f52d885b9691cdb2 100644
|
| --- a/content/child/web_data_consumer_handle_impl_unittest.cc
|
| +++ b/content/child/web_data_consumer_handle_impl_unittest.cc
|
| @@ -236,8 +236,8 @@ class WebDataConsumerHandleImplTest : public ::testing::Test {
|
|
|
| TEST_F(WebDataConsumerHandleImplTest, ReadData) {
|
| base::RunLoop run_loop;
|
| - auto operation = base::WrapUnique(new ReadDataOperation(
|
| - std::move(consumer_), &message_loop_, run_loop.QuitClosure()));
|
| + auto operation = base::MakeUnique<ReadDataOperation>(
|
| + std::move(consumer_), &message_loop_, run_loop.QuitClosure());
|
|
|
| base::Thread t("DataConsumerHandle test thread");
|
| ASSERT_TRUE(t.Start());
|
| @@ -257,8 +257,8 @@ TEST_F(WebDataConsumerHandleImplTest, ReadData) {
|
|
|
| TEST_F(WebDataConsumerHandleImplTest, TwoPhaseReadData) {
|
| base::RunLoop run_loop;
|
| - auto operation = base::WrapUnique(new TwoPhaseReadDataOperation(
|
| - std::move(consumer_), &message_loop_, run_loop.QuitClosure()));
|
| + auto operation = base::MakeUnique<TwoPhaseReadDataOperation>(
|
| + std::move(consumer_), &message_loop_, run_loop.QuitClosure());
|
|
|
| base::Thread t("DataConsumerHandle test thread");
|
| ASSERT_TRUE(t.Start());
|
|
|