Index: components/html_viewer/web_graphics_context_3d_command_buffer_impl.cc |
diff --git a/components/html_viewer/web_graphics_context_3d_command_buffer_impl.cc b/components/html_viewer/web_graphics_context_3d_command_buffer_impl.cc |
index b9efa5e210612848094cbd35822c275be274485b..f03ca43e32ae7ca872de6a87305445b4d2db4e30 100644 |
--- a/components/html_viewer/web_graphics_context_3d_command_buffer_impl.cc |
+++ b/components/html_viewer/web_graphics_context_3d_command_buffer_impl.cc |
@@ -25,7 +25,8 @@ WebGraphicsContext3DCommandBufferImpl::CreateOffscreenContext( |
const GURL& active_url, |
const blink::WebGraphicsContext3D::Attributes& attributes, |
blink::WebGraphicsContext3D* share_context, |
- blink::WebGLInfo* gl_info) { |
+ blink::WebGraphicsContext3D::WebGraphicsInfo* gl_info) { |
+ DCHECK(gl_info); |
const mus::mojom::GpuInfo* gpu_info = global_state->GetGpuInfo(); |
gl_info->vendorId = gpu_info->vendor_id; |
gl_info->deviceId = gpu_info->device_id; |