| Index: cc/layers/video_layer_impl.cc
|
| diff --git a/cc/layers/video_layer_impl.cc b/cc/layers/video_layer_impl.cc
|
| index 94125d6735cd18c7ecd53cbd50c42929fbb45736..b5a52661cc72df1d43020abd6e8ead491dd5ca5e 100644
|
| --- a/cc/layers/video_layer_impl.cc
|
| +++ b/cc/layers/video_layer_impl.cc
|
| @@ -201,9 +201,9 @@ void VideoLayerImpl::AppendQuads(QuadSink* quad_sink,
|
| case media::VideoFrame::YV12:
|
| case media::VideoFrame::YV16: {
|
| // YUV software decoder.
|
| - const FramePlane& y_plane = frame_planes_[media::VideoFrame::kYPlane];
|
| - const FramePlane& u_plane = frame_planes_[media::VideoFrame::kUPlane];
|
| - const FramePlane& v_plane = frame_planes_[media::VideoFrame::kVPlane];
|
| + const FramePlane* y_plane = &frame_planes_[media::VideoFrame::kYPlane];
|
| + const FramePlane* u_plane = &frame_planes_[media::VideoFrame::kUPlane];
|
| + const FramePlane* v_plane = &frame_planes_[media::VideoFrame::kVPlane];
|
| gfx::SizeF tex_scale(tex_width_scale, tex_height_scale);
|
| scoped_ptr<YUVVideoDrawQuad> yuv_video_quad = YUVVideoDrawQuad::Create();
|
| yuv_video_quad->SetNew(shared_quad_state,
|
| @@ -212,7 +212,8 @@ void VideoLayerImpl::AppendQuads(QuadSink* quad_sink,
|
| tex_scale,
|
| y_plane,
|
| u_plane,
|
| - v_plane);
|
| + v_plane,
|
| + NULL);
|
| quad_sink->Append(yuv_video_quad.PassAs<DrawQuad>(), append_quads_data);
|
| break;
|
| }
|
|
|