Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / sync / internal_api / http_bridge_unittest.cc
index 68a5835..8a2c443 100644 (file)
@@ -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.