// 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.