| Index: content/gpu/gpu_child_thread.h
|
| diff --git a/content/gpu/gpu_child_thread.h b/content/gpu/gpu_child_thread.h
|
| index 70a6bb8c13a5014591263eaa09f3c5ca2442d6d6..3993e51e627f8a3bea7688143efb9b4d66657719 100644
|
| --- a/content/gpu/gpu_child_thread.h
|
| +++ b/content/gpu/gpu_child_thread.h
|
| @@ -27,6 +27,7 @@ class TargetServices;
|
| }
|
|
|
| namespace content {
|
| +class GpuMemoryBufferFactory;
|
| class GpuWatchdogThread;
|
|
|
| // The main thread of the GPU child process. There will only ever be one of
|
| @@ -37,10 +38,11 @@ class GpuChildThread : public ChildThreadImpl {
|
| public:
|
| typedef std::queue<IPC::Message*> DeferredMessages;
|
|
|
| - explicit GpuChildThread(GpuWatchdogThread* gpu_watchdog_thread,
|
| - bool dead_on_arrival,
|
| - const gpu::GPUInfo& gpu_info,
|
| - const DeferredMessages& deferred_messages);
|
| + GpuChildThread(GpuWatchdogThread* gpu_watchdog_thread,
|
| + bool dead_on_arrival,
|
| + const gpu::GPUInfo& gpu_info,
|
| + const DeferredMessages& deferred_messages,
|
| + GpuMemoryBufferFactory* gpu_memory_buffer_factory);
|
|
|
| explicit GpuChildThread(const InProcessChildThreadParams& params);
|
|
|
| @@ -94,6 +96,9 @@ class GpuChildThread : public ChildThreadImpl {
|
| // Whether the GPU thread is running in the browser process.
|
| bool in_browser_process_;
|
|
|
| + // The GpuMemoryBufferFactory instance used to allocate GpuMemoryBuffers.
|
| + GpuMemoryBufferFactory* const gpu_memory_buffer_factory_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(GpuChildThread);
|
| };
|
|
|
|
|