| Index: components/display_compositor/yuv_readback_unittest.cc
|
| diff --git a/components/display_compositor/yuv_readback_unittest.cc b/components/display_compositor/yuv_readback_unittest.cc
|
| index 29cc498f3a84a4d11e6d1dc2eb84505d720b04c3..fe595e3364a996f698bca51a3454823b27149c29 100644
|
| --- a/components/display_compositor/yuv_readback_unittest.cc
|
| +++ b/components/display_compositor/yuv_readback_unittest.cc
|
| @@ -13,6 +13,7 @@
|
| #include "components/display_compositor/gl_helper.h"
|
| #include "gpu/command_buffer/client/gles2_implementation.h"
|
| #include "gpu/command_buffer/client/shared_memory_limits.h"
|
| +#include "gpu/ipc/common/surface_handle.h"
|
| #include "gpu/ipc/gl_in_process_context.h"
|
| #include "media/base/video_frame.h"
|
| #include "media/base/video_util.h"
|
| @@ -40,16 +41,16 @@ class YUVReadbackTest : public testing::Test {
|
| attributes.sample_buffers = 1;
|
| attributes.bind_generates_resource = false;
|
|
|
| - context_.reset(gpu::GLInProcessContext::Create(
|
| - nullptr, /* service */
|
| - nullptr, /* surface */
|
| - true, /* offscreen */
|
| - gfx::kNullAcceleratedWidget, /* window */
|
| - nullptr, /* share_context */
|
| - attributes, gpu::SharedMemoryLimits(),
|
| - nullptr, /* gpu_memory_buffer_manager */
|
| - nullptr, /* image_factory */
|
| - base::ThreadTaskRunnerHandle::Get()));
|
| + context_.reset(
|
| + gpu::GLInProcessContext::Create(nullptr, /* service */
|
| + nullptr, /* surface */
|
| + true, /* offscreen */
|
| + gpu::kNullSurfaceHandle, /* window */
|
| + nullptr, /* share_context */
|
| + attributes, gpu::SharedMemoryLimits(),
|
| + nullptr, /* gpu_memory_buffer_manager */
|
| + nullptr, /* image_factory */
|
| + base::ThreadTaskRunnerHandle::Get()));
|
| gl_ = context_->GetImplementation();
|
| gpu::ContextSupport* support = context_->GetImplementation();
|
|
|
|
|