Index: sync/internal_api/http_bridge_unittest.cc |
diff --git a/sync/internal_api/http_bridge_unittest.cc b/sync/internal_api/http_bridge_unittest.cc |
index 68a5835647eb4365b71a09f5eed8c9bdc18b9db7..8a2c443a8585bd782022c4ee371f510742dd761f 100644 |
--- a/sync/internal_api/http_bridge_unittest.cc |
+++ b/sync/internal_api/http_bridge_unittest.cc |
@@ -499,10 +499,10 @@ TEST_F(SyncHttpBridgeTest, EarlyAbortFactory) { |
// UI Thread: Initialize the HttpBridgeFactory. The next step would be to |
// post a task to SBH::Core to have it initialized. |
- scoped_ptr<syncer::HttpBridgeFactory> factory(new HttpBridgeFactory( |
- baseline_context_getter, |
- NetworkTimeUpdateCallback(), |
- &release_request_context_signal)); |
+ scoped_ptr<syncer::HttpBridgeFactory> factory( |
+ new HttpBridgeFactory(baseline_context_getter.get(), |
+ NetworkTimeUpdateCallback(), |
+ &release_request_context_signal)); |
// UI Thread: A very early shutdown request arrives and executes on the UI |
// thread before the posted sync thread task is run. |