| Index: content/gpu/gpu_service_factory.cc
|
| diff --git a/content/gpu/gpu_service_factory.cc b/content/gpu/gpu_service_factory.cc
|
| index ffe957efe0a2f988eea112fbd26293392768de2c..10dd6a2e67c1c5d6b4cc83d655dfd3d5cd24e243 100644
|
| --- a/content/gpu/gpu_service_factory.cc
|
| +++ b/content/gpu/gpu_service_factory.cc
|
| @@ -18,11 +18,10 @@ GpuServiceFactory::~GpuServiceFactory() {}
|
|
|
| void GpuServiceFactory::RegisterServices(ServiceMap* services) {
|
| #if defined(ENABLE_MOJO_MEDIA_IN_GPU_PROCESS)
|
| - MojoApplicationInfo service_info;
|
| - service_info.application_factory =
|
| - base::Bind(&media::CreateMojoMediaApplication);
|
| - service_info.use_own_thread = true;
|
| - services->insert(std::make_pair("service:media", service_info));
|
| + ServiceInfo info;
|
| + info.factory = base::Bind(&media::CreateMojoMediaApplication);
|
| + info.use_own_thread = true;
|
| + services->insert(std::make_pair("service:media", info));
|
| #endif
|
| }
|
|
|
|
|