Index: chrome/test/chromedriver/net/net_util_unittest.cc |
diff --git a/chrome/test/chromedriver/net/net_util_unittest.cc b/chrome/test/chromedriver/net/net_util_unittest.cc |
index f05739015364ea31eecd111b005db05157021d1f..480768d6e20ec43620c659186668a8efd259bdc8 100644 |
--- a/chrome/test/chromedriver/net/net_util_unittest.cc |
+++ b/chrome/test/chromedriver/net/net_util_unittest.cc |
@@ -113,26 +113,27 @@ class FetchUrlTest : public testing::Test, |
TEST_F(FetchUrlTest, Http200) { |
std::string response("stuff"); |
- ASSERT_TRUE(FetchUrl(server_url_, context_getter_, &response)); |
+ ASSERT_TRUE(FetchUrl(server_url_, context_getter_.get(), &response)); |
ASSERT_STREQ("hello", response.c_str()); |
} |
TEST_F(FetchUrlTest, HttpNon200) { |
response_ = kSend404; |
std::string response("stuff"); |
- ASSERT_FALSE(FetchUrl(server_url_, context_getter_, &response)); |
+ ASSERT_FALSE(FetchUrl(server_url_, context_getter_.get(), &response)); |
ASSERT_STREQ("stuff", response.c_str()); |
} |
TEST_F(FetchUrlTest, ConnectionClose) { |
response_ = kClose; |
std::string response("stuff"); |
- ASSERT_FALSE(FetchUrl(server_url_, context_getter_, &response)); |
+ ASSERT_FALSE(FetchUrl(server_url_, context_getter_.get(), &response)); |
ASSERT_STREQ("stuff", response.c_str()); |
} |
TEST_F(FetchUrlTest, NoServer) { |
std::string response("stuff"); |
- ASSERT_FALSE(FetchUrl("http://localhost:33333", context_getter_, &response)); |
+ ASSERT_FALSE( |
+ FetchUrl("http://localhost:33333", context_getter_.get(), &response)); |
ASSERT_STREQ("stuff", response.c_str()); |
} |