| Index: cc/solid_color_layer_impl_unittest.cc
|
| diff --git a/cc/solid_color_layer_impl_unittest.cc b/cc/solid_color_layer_impl_unittest.cc
|
| index 01da5541b21da4b60036f8d5460019c5c7f976c2..7b343136ebda89675adfd2231b2e5ff5f78f3c25 100644
|
| --- a/cc/solid_color_layer_impl_unittest.cc
|
| +++ b/cc/solid_color_layer_impl_unittest.cc
|
| @@ -22,8 +22,8 @@ namespace {
|
| TEST(SolidColorLayerImplTest, verifyTilingCompleteAndNoOverlap)
|
| {
|
| MockQuadCuller quadCuller;
|
| - IntSize layerSize = IntSize(800, 600);
|
| - IntRect visibleContentRect = IntRect(IntPoint(), layerSize);
|
| + gfx::Size layerSize = gfx::Size(800, 600);
|
| + gfx::Rect visibleContentRect = gfx::Rect(gfx::Point(), layerSize);
|
|
|
| scoped_ptr<SolidColorLayerImpl> layer = SolidColorLayerImpl::create(1);
|
| layer->setVisibleContentRect(visibleContentRect);
|
| @@ -43,8 +43,8 @@ TEST(SolidColorLayerImplTest, verifyCorrectBackgroundColorInQuad)
|
| SkColor testColor = 0xFFA55AFF;
|
|
|
| MockQuadCuller quadCuller;
|
| - IntSize layerSize = IntSize(100, 100);
|
| - IntRect visibleContentRect = IntRect(IntPoint(), layerSize);
|
| + gfx::Size layerSize = gfx::Size(100, 100);
|
| + gfx::Rect visibleContentRect = gfx::Rect(gfx::Point(), layerSize);
|
|
|
| scoped_ptr<SolidColorLayerImpl> layer = SolidColorLayerImpl::create(1);
|
| layer->setVisibleContentRect(visibleContentRect);
|
| @@ -66,8 +66,8 @@ TEST(SolidColorLayerImplTest, verifyCorrectOpacityInQuad)
|
| const float opacity = 0.5f;
|
|
|
| MockQuadCuller quadCuller;
|
| - IntSize layerSize = IntSize(100, 100);
|
| - IntRect visibleContentRect = IntRect(IntPoint(), layerSize);
|
| + gfx::Size layerSize = gfx::Size(100, 100);
|
| + gfx::Rect visibleContentRect = gfx::Rect(gfx::Point(), layerSize);
|
|
|
| scoped_ptr<SolidColorLayerImpl> layer = SolidColorLayerImpl::create(1);
|
| layer->setVisibleContentRect(visibleContentRect);
|
|
|