| Index: cc/yuv_video_draw_quad.cc
|
| diff --git a/cc/yuv_video_draw_quad.cc b/cc/yuv_video_draw_quad.cc
|
| index 5efebfcebab4a69d8328c972c00d14d1e194fba2..2bff6c276d387757310676887f0544fc6803ed5a 100644
|
| --- a/cc/yuv_video_draw_quad.cc
|
| +++ b/cc/yuv_video_draw_quad.cc
|
| @@ -11,24 +11,26 @@ namespace cc {
|
| scoped_ptr<YUVVideoDrawQuad> YUVVideoDrawQuad::create(
|
| const SharedQuadState* sharedQuadState,
|
| const gfx::Rect& quadRect,
|
| + const gfx::Rect& opaqueRect,
|
| const gfx::SizeF& texScale,
|
| const VideoLayerImpl::FramePlane& yPlane,
|
| const VideoLayerImpl::FramePlane& uPlane,
|
| const VideoLayerImpl::FramePlane& vPlane)
|
| {
|
| return make_scoped_ptr(new YUVVideoDrawQuad(sharedQuadState,
|
| - quadRect, texScale,
|
| + quadRect, opaqueRect, texScale,
|
| yPlane, uPlane, vPlane));
|
| }
|
|
|
| YUVVideoDrawQuad::YUVVideoDrawQuad(
|
| const SharedQuadState* sharedQuadState,
|
| const gfx::Rect& quadRect,
|
| + const gfx::Rect& opaqueRect,
|
| const gfx::SizeF& texScale,
|
| const VideoLayerImpl::FramePlane& yPlane,
|
| const VideoLayerImpl::FramePlane& uPlane,
|
| const VideoLayerImpl::FramePlane& vPlane)
|
| - : DrawQuad(sharedQuadState, DrawQuad::YUV_VIDEO_CONTENT, quadRect)
|
| + : DrawQuad(sharedQuadState, DrawQuad::YUV_VIDEO_CONTENT, quadRect, opaqueRect)
|
| , m_texScale(texScale)
|
| , m_yPlane(yPlane)
|
| , m_uPlane(uPlane)
|
|
|