Index: components/update_client/update_checker_unittest.cc |
diff --git a/components/update_client/update_checker_unittest.cc b/components/update_client/update_checker_unittest.cc |
index 0bea798595da79d75701ae8b2ffc42cc0574e20f..f45eb3d5cbf7b3e36333f8ef8688536d4d7a44d6 100644 |
--- a/components/update_client/update_checker_unittest.cc |
+++ b/components/update_client/update_checker_unittest.cc |
@@ -166,7 +166,7 @@ TEST_F(UpdateCheckerTest, UpdateCheckSuccess) { |
EXPECT_TRUE(post_interceptor_->ExpectRequest( |
new PartialMatch("updatecheck"), test_file("updatecheck_reply_1.xml"))); |
- update_checker_ = UpdateChecker::Create(*config_).Pass(); |
+ update_checker_ = UpdateChecker::Create(*config_); |
CrxUpdateItem item(BuildCrxUpdateItem()); |
std::vector<CrxUpdateItem*> items_to_check; |
@@ -212,7 +212,7 @@ TEST_F(UpdateCheckerTest, UpdateCheckError) { |
EXPECT_TRUE( |
post_interceptor_->ExpectRequest(new PartialMatch("updatecheck"), 403)); |
- update_checker_ = UpdateChecker::Create(*config_).Pass(); |
+ update_checker_ = UpdateChecker::Create(*config_); |
CrxUpdateItem item(BuildCrxUpdateItem()); |
std::vector<CrxUpdateItem*> items_to_check; |