| Index: content/gpu/gpu_child_thread.cc
|
| diff --git a/content/gpu/gpu_child_thread.cc b/content/gpu/gpu_child_thread.cc
|
| index 1bb3df07e35f42846c9f352ac69012eda1b1bc1c..74f041fba10aaef91124426c791a27890466bd8d 100644
|
| --- a/content/gpu/gpu_child_thread.cc
|
| +++ b/content/gpu/gpu_child_thread.cc
|
| @@ -18,7 +18,6 @@
|
| #include "content/common/gpu/gpu_host_messages.h"
|
| #include "content/common/gpu/gpu_memory_buffer_factory.h"
|
| #include "content/common/gpu/media/gpu_video_decode_accelerator.h"
|
| -#include "content/common/gpu/media/media_service.h"
|
| #include "content/gpu/gpu_process_control_impl.h"
|
| #include "content/gpu/gpu_watchdog_thread.h"
|
| #include "content/public/common/content_client.h"
|
| @@ -303,7 +302,6 @@
|
| }
|
|
|
| void GpuChildThread::DidDestroyChannel(int client_id) {
|
| - media_service_->RemoveChannel(client_id);
|
| Send(new GpuHostMsg_DestroyChannel(client_id));
|
| }
|
|
|
| @@ -378,8 +376,6 @@
|
| ChildProcess::current()->io_task_runner(),
|
| ChildProcess::current()->GetShutDownEvent(),
|
| sync_point_manager_, gpu_memory_buffer_factory_));
|
| -
|
| - media_service_.reset(new MediaService(gpu_channel_manager_.get()));
|
|
|
| #if defined(USE_OZONE)
|
| ui::OzonePlatform::GetInstance()
|
| @@ -569,7 +565,6 @@
|
|
|
| IPC::ChannelHandle channel_handle =
|
| gpu_channel_manager_->EstablishChannel(params);
|
| - media_service_->AddChannel(params.client_id);
|
| Send(new GpuHostMsg_ChannelEstablished(channel_handle));
|
| }
|
|
|
| @@ -606,10 +601,8 @@
|
| #endif
|
|
|
| void GpuChildThread::OnLoseAllContexts() {
|
| - if (gpu_channel_manager_) {
|
| + if (gpu_channel_manager_)
|
| gpu_channel_manager_->DestroyAllChannels();
|
| - media_service_->DestroyAllChannels();
|
| - }
|
| }
|
|
|
| void GpuChildThread::BindProcessControlRequest(
|
|
|