Index: gpu/command_buffer/service/gles2_cmd_decoder.cc |
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.cc b/gpu/command_buffer/service/gles2_cmd_decoder.cc |
index f3e5779a790235f36ddaf6ddd1a1ee90ed673d36..710581dc867f9381e6f944508718a4889f4b0ed7 100644 |
--- a/gpu/command_buffer/service/gles2_cmd_decoder.cc |
+++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc |
@@ -7653,10 +7653,9 @@ error::Error GLES2DecoderImpl::HandleScheduleOverlayPlaneCHROMIUM( |
"invalid transform enum"); |
return error::kNoError; |
} |
- if (!surface_->ScheduleOverlayPlane( |
+ if (!image->ScheduleOverlayPlane( |
c.plane_z_order, |
transform, |
- image, |
gfx::Rect(c.bounds_x, c.bounds_y, c.bounds_width, c.bounds_height), |
gfx::RectF(c.uv_x, c.uv_y, c.uv_width, c.uv_height))) { |
LOCAL_SET_GL_ERROR(GL_INVALID_OPERATION, |