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

Unified Diff: cc/layer_sorter_unittest.cc

Issue 11358050: Remove most remaining webcore points and sizes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebasedd 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_quad_unittest.cc ('k') | cc/layer_tree_host_common.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer_sorter_unittest.cc
diff --git a/cc/layer_sorter_unittest.cc b/cc/layer_sorter_unittest.cc
index 2a41e85de91a5663a5837e7db89dc0d7729972ae..6c54fc550974b2ad6bdb1aec116983d580b584f4 100644
--- a/cc/layer_sorter_unittest.cc
+++ b/cc/layer_sorter_unittest.cc
@@ -214,28 +214,28 @@ TEST(LayerSorterTest, verifyExistingOrderingPreservedWhenNoZDiff)
WebTransformationMatrix FrontMatrix;
FrontMatrix.translate3d(0, 0, 1);
- layer1->setBounds(IntSize(10, 10));
- layer1->setContentBounds(IntSize(10, 10));
+ layer1->setBounds(gfx::Size(10, 10));
+ layer1->setContentBounds(gfx::Size(10, 10));
layer1->setDrawTransform(BehindMatrix);
layer1->setDrawsContent(true);
- layer2->setBounds(IntSize(20, 20));
- layer2->setContentBounds(IntSize(20, 20));
+ layer2->setBounds(gfx::Size(20, 20));
+ layer2->setContentBounds(gfx::Size(20, 20));
layer2->setDrawTransform(BehindMatrix);
layer2->setDrawsContent(true);
- layer3->setBounds(IntSize(30, 30));
- layer3->setContentBounds(IntSize(30, 30));
+ layer3->setBounds(gfx::Size(30, 30));
+ layer3->setContentBounds(gfx::Size(30, 30));
layer3->setDrawTransform(FrontMatrix);
layer3->setDrawsContent(true);
- layer4->setBounds(IntSize(40, 40));
- layer4->setContentBounds(IntSize(40, 40));
+ layer4->setBounds(gfx::Size(40, 40));
+ layer4->setContentBounds(gfx::Size(40, 40));
layer4->setDrawTransform(FrontMatrix);
layer4->setDrawsContent(true);
- layer5->setBounds(IntSize(50, 50));
- layer5->setContentBounds(IntSize(50, 50));
+ layer5->setBounds(gfx::Size(50, 50));
+ layer5->setContentBounds(gfx::Size(50, 50));
layer5->setDrawTransform(BehindMatrix);
layer5->setDrawsContent(true);
« no previous file with comments | « cc/layer_quad_unittest.cc ('k') | cc/layer_tree_host_common.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698