| Index: cc/video_layer_impl.cc
|
| diff --git a/cc/video_layer_impl.cc b/cc/video_layer_impl.cc
|
| index 43e88646bd223d296eb23b8eaa249ff3b27af31f..3380402d4378272ff9af48e8cd4c310a7cb8dbb3 100644
|
| --- a/cc/video_layer_impl.cc
|
| +++ b/cc/video_layer_impl.cc
|
| @@ -374,8 +374,8 @@ bool VideoLayerImpl::copyPlaneData(ResourceProvider* resourceProvider)
|
| for (size_t planeIndex = 0; planeIndex < planeCount; ++planeIndex) {
|
| VideoLayerImpl::FramePlane& plane = m_framePlanes[planeIndex];
|
| const uint8_t* softwarePlanePixels = m_frame->data(planeIndex);
|
| - IntRect planeRect(IntPoint(), plane.size);
|
| - resourceProvider->upload(plane.resourceId, softwarePlanePixels, planeRect, planeRect, IntSize());
|
| + gfx::Rect planeRect(gfx::Point(), plane.size);
|
| + resourceProvider->upload(plane.resourceId, softwarePlanePixels, planeRect, planeRect, gfx::Vector2d());
|
| }
|
| return true;
|
| }
|
|
|