Index: gpu/command_buffer/client/gles2_implementation.cc |
diff --git a/gpu/command_buffer/client/gles2_implementation.cc b/gpu/command_buffer/client/gles2_implementation.cc |
index 584353f07f26e4d8e0d8dfcf201880fb68cce162..e581781861192fe7e35bbf20f8d18e254794c590 100644 |
--- a/gpu/command_buffer/client/gles2_implementation.cc |
+++ b/gpu/command_buffer/client/gles2_implementation.cc |
@@ -4998,8 +4998,7 @@ void GLES2Implementation::ScheduleDCLayerSharedStateCHROMIUM( |
buffer.shm_id(), buffer.offset()); |
} |
-void GLES2Implementation::ScheduleDCLayerCHROMIUM(GLuint contents_texture_id, |
- const GLfloat* contents_rect, |
+void GLES2Implementation::ScheduleDCLayerCHROMIUM(const GLfloat* contents_rect, |
GLuint background_color, |
GLuint edge_aa_mask, |
const GLfloat* bounds_rect, |
@@ -5014,9 +5013,8 @@ void GLES2Implementation::ScheduleDCLayerCHROMIUM(GLuint contents_texture_id, |
GLfloat* mem = static_cast<GLfloat*>(buffer.address()); |
memcpy(mem + 0, contents_rect, 4 * sizeof(GLfloat)); |
memcpy(mem + 4, bounds_rect, 4 * sizeof(GLfloat)); |
- helper_->ScheduleDCLayerCHROMIUM(contents_texture_id, background_color, |
- edge_aa_mask, filter, buffer.shm_id(), |
- buffer.offset()); |
+ helper_->ScheduleDCLayerCHROMIUM(background_color, edge_aa_mask, filter, |
+ buffer.shm_id(), buffer.offset()); |
} |
void GLES2Implementation::CommitOverlayPlanesCHROMIUM() { |