| Index: content/gpu/gpu_main.cc
|
| diff --git a/content/gpu/gpu_main.cc b/content/gpu/gpu_main.cc
|
| index e7ce06e5a26c77121d07c5db178ceba7c8a250c7..d27ef2b96da449a526abb8dd2e75888cc6c11f80 100644
|
| --- a/content/gpu/gpu_main.cc
|
| +++ b/content/gpu/gpu_main.cc
|
| @@ -361,9 +361,10 @@ int GpuMain(const MainFunctionParams& parameters) {
|
|
|
| logging::SetLogMessageHandler(NULL);
|
|
|
| - scoped_ptr<GpuMemoryBufferFactory> gpu_memory_buffer_factory =
|
| - GpuMemoryBufferFactory::Create(
|
| - GpuChildThread::GetGpuMemoryBufferFactoryType());
|
| + scoped_ptr<GpuMemoryBufferFactory> gpu_memory_buffer_factory;
|
| + if (GpuMemoryBufferFactory::GetNativeType() != gfx::EMPTY_BUFFER)
|
| + gpu_memory_buffer_factory = GpuMemoryBufferFactory::CreateNativeType();
|
| +
|
| gpu::SyncPointManager sync_point_manager(false);
|
|
|
| GpuProcess gpu_process;
|
|
|