| Index: content/gpu/gpu_child_thread.cc
|
| diff --git a/content/gpu/gpu_child_thread.cc b/content/gpu/gpu_child_thread.cc
|
| index 663de228c9577119e7dc09729e33ad0ffdbfeb8d..6eee7220acd55d4fc2c1bbc1916e39f4a11e0a58 100644
|
| --- a/content/gpu/gpu_child_thread.cc
|
| +++ b/content/gpu/gpu_child_thread.cc
|
| @@ -15,6 +15,7 @@
|
| #include "content/child/child_process.h"
|
| #include "content/child/thread_safe_sender.h"
|
| #include "content/common/establish_channel_params.h"
|
| +#include "content/common/gpu/gpu_memory_buffer_factory.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"
|
| @@ -30,7 +31,6 @@
|
| #include "gpu/config/gpu_switches.h"
|
| #include "gpu/config/gpu_util.h"
|
| #include "gpu/ipc/common/memory_stats.h"
|
| -#include "gpu/ipc/service/gpu_memory_buffer_factory.h"
|
| #include "ipc/ipc_channel_handle.h"
|
| #include "ipc/ipc_sync_message_filter.h"
|
| #include "ui/gl/gl_implementation.h"
|
| @@ -72,7 +72,7 @@
|
| class GpuMemoryBufferMessageFilter : public IPC::MessageFilter {
|
| public:
|
| explicit GpuMemoryBufferMessageFilter(
|
| - gpu::GpuMemoryBufferFactory* gpu_memory_buffer_factory)
|
| + GpuMemoryBufferFactory* gpu_memory_buffer_factory)
|
| : gpu_memory_buffer_factory_(gpu_memory_buffer_factory),
|
| sender_(nullptr) {}
|
|
|
| @@ -124,12 +124,12 @@
|
| params.client_id)));
|
| }
|
|
|
| - gpu::GpuMemoryBufferFactory* const gpu_memory_buffer_factory_;
|
| + GpuMemoryBufferFactory* const gpu_memory_buffer_factory_;
|
| IPC::Sender* sender_;
|
| };
|
|
|
| ChildThreadImpl::Options GetOptions(
|
| - gpu::GpuMemoryBufferFactory* gpu_memory_buffer_factory) {
|
| + GpuMemoryBufferFactory* gpu_memory_buffer_factory) {
|
| ChildThreadImpl::Options::Builder builder;
|
|
|
| builder.AddStartupFilter(
|
| @@ -153,7 +153,7 @@
|
| bool dead_on_arrival,
|
| const gpu::GPUInfo& gpu_info,
|
| const DeferredMessages& deferred_messages,
|
| - gpu::GpuMemoryBufferFactory* gpu_memory_buffer_factory,
|
| + GpuMemoryBufferFactory* gpu_memory_buffer_factory,
|
| gpu::SyncPointManager* sync_point_manager)
|
| : ChildThreadImpl(GetOptions(gpu_memory_buffer_factory)),
|
| dead_on_arrival_(dead_on_arrival),
|
| @@ -172,7 +172,7 @@
|
| GpuChildThread::GpuChildThread(
|
| const gpu::GpuPreferences& gpu_preferences,
|
| const InProcessChildThreadParams& params,
|
| - gpu::GpuMemoryBufferFactory* gpu_memory_buffer_factory,
|
| + GpuMemoryBufferFactory* gpu_memory_buffer_factory,
|
| gpu::SyncPointManager* sync_point_manager)
|
| : ChildThreadImpl(ChildThreadImpl::Options::Builder()
|
| .InBrowserProcess(params)
|
| @@ -396,7 +396,7 @@
|
| // IPC messages before the sandbox has been enabled and all other necessary
|
| // initialization has succeeded.
|
| gpu_channel_manager_.reset(
|
| - new gpu::GpuChannelManager(gpu_preferences_, this, watchdog_thread_.get(),
|
| + new GpuChannelManager(gpu_preferences_, this, watchdog_thread_.get(),
|
| base::ThreadTaskRunnerHandle::Get().get(),
|
| ChildProcess::current()->io_task_runner(),
|
| ChildProcess::current()->GetShutDownEvent(),
|
|
|