Index: gpu/command_buffer/service/gles2_cmd_decoder_passthrough_handlers.cc |
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_passthrough_handlers.cc b/gpu/command_buffer/service/gles2_cmd_decoder_passthrough_handlers.cc |
index 50e2cbfde3ae94b92d6e7f21fa4c578d7ff52216..f6b65235edb095fbb2d884d2ce2e101bdfa3dfc1 100644 |
--- a/gpu/command_buffer/service/gles2_cmd_decoder_passthrough_handlers.cc |
+++ b/gpu/command_buffer/service/gles2_cmd_decoder_passthrough_handlers.cc |
@@ -1816,14 +1816,12 @@ error::Error GLES2DecoderPassthroughImpl::HandleScheduleDCLayerCHROMIUM( |
if (!mem) { |
return error::kOutOfBounds; |
} |
- GLuint contents_texture_id = static_cast<GLint>(c.contents_texture_id); |
const GLfloat* contents_rect = mem; |
GLuint background_color = static_cast<GLuint>(c.background_color); |
GLuint edge_aa_mask = static_cast<GLuint>(c.edge_aa_mask); |
const GLfloat* bounds_rect = mem + 4; |
- error::Error error = |
- DoScheduleDCLayerCHROMIUM(contents_texture_id, contents_rect, |
- background_color, edge_aa_mask, bounds_rect); |
+ error::Error error = DoScheduleDCLayerCHROMIUM( |
+ contents_rect, background_color, edge_aa_mask, bounds_rect); |
if (error != error::kNoError) { |
return error; |
} |