summaryrefslogtreecommitdiffstats
path: root/cc/layer_sorter_unittest.cc
diff options
context:
space:
mode:
authordanakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-02 00:19:06 +0000
committerdanakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-02 00:19:06 +0000
commitd455d55745439727d00254ef85a5386290a51cd3 (patch)
treecc1f7dd184a8fa7565c9fc45961e553deb4b8834 /cc/layer_sorter_unittest.cc
parentc2b20d05b32184ffa24102ea70a14a456f16f581 (diff)
downloadchromium_src-d455d55745439727d00254ef85a5386290a51cd3.zip
chromium_src-d455d55745439727d00254ef85a5386290a51cd3.tar.gz
chromium_src-d455d55745439727d00254ef85a5386290a51cd3.tar.bz2
Remove most remaining webcore points and sizes.
The remaining sizes should all be becoming vectors. Some or all of the remaining points should as well. The only Int/Float Point/Size types left are in the scrolling and page scaling code, or in the LayerTilingData. R=enne BUG=147395 Review URL: https://codereview.chromium.org/11358050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165569 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/layer_sorter_unittest.cc')
-rw-r--r--cc/layer_sorter_unittest.cc20
1 files changed, 10 insertions, 10 deletions
diff --git a/cc/layer_sorter_unittest.cc b/cc/layer_sorter_unittest.cc
index 2a41e85..6c54fc5 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);