| Index: content/gpu/gpu_child_thread.cc
|
| diff --git a/content/gpu/gpu_child_thread.cc b/content/gpu/gpu_child_thread.cc
|
| index 9455eb5375e3e8d93698e6c26ad72f8778be562e..72c88b9b0510985c189c789ce41f2f2dad336412 100644
|
| --- a/content/gpu/gpu_child_thread.cc
|
| +++ b/content/gpu/gpu_child_thread.cc
|
| @@ -359,7 +359,8 @@ void GpuChildThread::OnInitialize(const gpu::GpuPreferences& gpu_preferences) {
|
| new media::MediaGpuChannelManager(gpu_channel_manager_.get()));
|
|
|
| // Only set once per process instance.
|
| - service_factory_.reset(new GpuServiceFactory);
|
| + service_factory_.reset(
|
| + new GpuServiceFactory(media_gpu_channel_manager_->AsWeakPtr()));
|
|
|
| GetInterfaceRegistry()->AddInterface(base::Bind(
|
| &GpuChildThread::BindServiceFactoryRequest, base::Unretained(this)));
|
|
|