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

Unified Diff: cc/layer_iterator_unittest.cc

Issue 11264056: cc: Use gfx:: Geometry types for positions, bounds, and related things. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ScaleAsVector 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/layer_impl.cc ('k') | cc/layer_quad.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer_iterator_unittest.cc
diff --git a/cc/layer_iterator_unittest.cc b/cc/layer_iterator_unittest.cc
index 471d322dc65f1e5eb0293b2a35d96edf66fee23f..9d7051e111c721cc83cb324f424d47fcc6f0bc8a 100644
--- a/cc/layer_iterator_unittest.cc
+++ b/cc/layer_iterator_unittest.cc
@@ -37,9 +37,9 @@ private:
: Layer()
, m_drawsContent(true)
{
- setBounds(IntSize(100, 100));
- setPosition(IntPoint());
- setAnchorPoint(IntPoint());
+ setBounds(gfx::Size(100, 100));
+ setPosition(gfx::Point());
+ setAnchorPoint(gfx::Point());
}
virtual ~TestLayer()
{
@@ -211,7 +211,7 @@ TEST(LayerIteratorTest, complexTreeMultiSurface)
scoped_refptr<TestLayer> root231 = TestLayer::create();
rootLayer->createRenderSurface();
- rootLayer->renderSurface()->setContentRect(IntRect(IntPoint(), rootLayer->bounds()));
+ rootLayer->renderSurface()->setContentRect(gfx::Rect(gfx::Point(), rootLayer->bounds()));
rootLayer->addChild(root1);
rootLayer->addChild(root2);
« no previous file with comments | « cc/layer_impl.cc ('k') | cc/layer_quad.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698