Chromium Code Reviews| Index: cc/trees/layer_tree_host_unittest_video.cc |
| diff --git a/cc/trees/layer_tree_host_unittest_video.cc b/cc/trees/layer_tree_host_unittest_video.cc |
| index 5484e4c9163ff252bc7f15a69b9e73e296128cf3..1e686e9154fdcadd94587fb30d56f4776cc59508 100644 |
| --- a/cc/trees/layer_tree_host_unittest_video.cc |
| +++ b/cc/trees/layer_tree_host_unittest_video.cc |
| @@ -30,7 +30,8 @@ class LayerTreeHostVideoTestSetNeedsDisplay |
| scoped_refptr<VideoLayer> video = VideoLayer::Create( |
| &video_frame_provider_); |
| video->SetPosition(gfx::PointF(3.f, 3.f)); |
| - video->SetBounds(gfx::Size(4, 4)); |
| + video->SetBounds(gfx::Size(4, 3)); |
| + video->set_video_rotation(media::VIDEO_ROTATION_90); |
| video->SetIsDrawable(true); |
| root->AddChild(video); |
| @@ -60,7 +61,7 @@ class LayerTreeHostVideoTestSetNeedsDisplay |
| break; |
| case 1: |
| // Second frame the video layer is damaged. |
| - EXPECT_EQ(gfx::RectF(6.f, 6.f, 8.f, 8.f).ToString(), |
| + EXPECT_EQ(gfx::RectF(8.f, 6.f, 6.f, 6.f).ToString(), |
|
enne (OOO)
2014/07/25 17:55:13
Does this actually pass? I wouldn't expect the dam
|
| damage_rect.ToString()); |
| EndTest(); |
| break; |