Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(111)

Unified Diff: cc/solid_color_layer_impl_unittest.cc

Issue 11275113: Remove most remaining references to IntRect and FloatRect. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compositor bindings Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/solid_color_layer_impl.cc ('k') | cc/stubs/Region.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « cc/solid_color_layer_impl.cc ('k') | cc/stubs/Region.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698