| Index: content/gpu/gpu_child_thread.cc
|
| diff --git a/content/gpu/gpu_child_thread.cc b/content/gpu/gpu_child_thread.cc
|
| index e652ca914b2522242abeff12133648870ae82245..6a3ca0cb2650133e4c0c8a27e4af61f8d680e577 100644
|
| --- a/content/gpu/gpu_child_thread.cc
|
| +++ b/content/gpu/gpu_child_thread.cc
|
| @@ -16,10 +16,6 @@
|
| #include "content/child/child_process.h"
|
| #include "content/child/thread_safe_sender.h"
|
| #include "content/common/establish_channel_params.h"
|
| -#include "content/common/gpu/media/gpu_jpeg_decode_accelerator.h"
|
| -#include "content/common/gpu/media/gpu_video_decode_accelerator.h"
|
| -#include "content/common/gpu/media/gpu_video_encode_accelerator.h"
|
| -#include "content/common/gpu/media/media_service.h"
|
| #include "content/common/gpu_host_messages.h"
|
| #include "content/gpu/gpu_process_control_impl.h"
|
| #include "content/gpu/gpu_watchdog_thread.h"
|
| @@ -34,6 +30,10 @@
|
| #include "gpu/ipc/service/gpu_memory_buffer_factory.h"
|
| #include "ipc/ipc_channel_handle.h"
|
| #include "ipc/ipc_sync_message_filter.h"
|
| +#include "media/gpu/ipc/service/gpu_jpeg_decode_accelerator.h"
|
| +#include "media/gpu/ipc/service/gpu_video_decode_accelerator.h"
|
| +#include "media/gpu/ipc/service/gpu_video_encode_accelerator.h"
|
| +#include "media/gpu/ipc/service/media_service.h"
|
| #include "ui/gl/gl_implementation.h"
|
| #include "ui/gl/gl_switches.h"
|
| #include "ui/gl/gpu_switching_manager.h"
|
| @@ -377,12 +377,12 @@ void GpuChildThread::OnInitialize(const gpu::GpuPreferences& gpu_preferences) {
|
| gpu_preferences_ = gpu_preferences;
|
|
|
| gpu_info_.video_decode_accelerator_capabilities =
|
| - content::GpuVideoDecodeAccelerator::GetCapabilities(gpu_preferences_);
|
| + media::GpuVideoDecodeAccelerator::GetCapabilities(gpu_preferences_);
|
| gpu_info_.video_encode_accelerator_supported_profiles =
|
| - content::GpuVideoEncodeAccelerator::GetSupportedProfiles(
|
| + media::GpuVideoEncodeAccelerator::GetSupportedProfiles(
|
| gpu_preferences_);
|
| gpu_info_.jpeg_decode_accelerator_supported =
|
| - content::GpuJpegDecodeAccelerator::IsSupported();
|
| + media::GpuJpegDecodeAccelerator::IsSupported();
|
|
|
| // Record initialization only after collecting the GPU info because that can
|
| // take a significant amount of time.
|
| @@ -414,7 +414,7 @@ void GpuChildThread::OnInitialize(const gpu::GpuPreferences& gpu_preferences) {
|
| ChildProcess::current()->GetShutDownEvent(),
|
| sync_point_manager_, gpu_memory_buffer_factory_));
|
|
|
| - media_service_.reset(new MediaService(gpu_channel_manager_.get()));
|
| + media_service_.reset(new media::MediaService(gpu_channel_manager_.get()));
|
|
|
| #if defined(USE_OZONE)
|
| ui::OzonePlatform::GetInstance()
|
|
|