Index: dbus/object_proxy_unittest.cc |
diff --git a/dbus/object_proxy_unittest.cc b/dbus/object_proxy_unittest.cc |
index 05c1294349688978359ff7675bab848441c6c61d..cc79f849cdc583ddf3648ae8e8677dcbb16108b9 100644 |
--- a/dbus/object_proxy_unittest.cc |
+++ b/dbus/object_proxy_unittest.cc |
@@ -29,7 +29,7 @@ class ObjectProxyTest : public testing::Test { |
}; |
// Used as a WaitForServiceToBeAvailableCallback. |
-void OnServiceIsAvailable(scoped_ptr<base::RunLoop>* run_loop, |
+void OnServiceIsAvailable(std::unique_ptr<base::RunLoop>* run_loop, |
bool service_is_available) { |
EXPECT_TRUE(service_is_available); |
ASSERT_TRUE(*run_loop); |
@@ -37,7 +37,7 @@ void OnServiceIsAvailable(scoped_ptr<base::RunLoop>* run_loop, |
} |
TEST_F(ObjectProxyTest, WaitForServiceToBeAvailable) { |
- scoped_ptr<base::RunLoop> run_loop; |
+ std::unique_ptr<base::RunLoop> run_loop; |
TestService::Options options; |
TestService test_service(options); |