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

Unified Diff: cc/layer_sorter_unittest.cc

Issue 11276060: Pass accurate contentsScale to LayerImpl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 months 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
Index: cc/layer_sorter_unittest.cc
diff --git a/cc/layer_sorter_unittest.cc b/cc/layer_sorter_unittest.cc
index 941bd725158d8daa57b8a1c9ab99f4e327b1e356..2cb4294e5abb51252b6a53bd54e27d98e8f444b0 100644
--- a/cc/layer_sorter_unittest.cc
+++ b/cc/layer_sorter_unittest.cc
@@ -215,27 +215,22 @@ TEST(LayerSorterTest, verifyExistingOrderingPreservedWhenNoZDiff)
FrontMatrix.translate3d(0, 0, 1);
layer1->setBounds(IntSize(10, 10));
- layer1->setContentBounds(IntSize(10, 10));
layer1->setDrawTransform(BehindMatrix);
layer1->setDrawsContent(true);
layer2->setBounds(IntSize(20, 20));
- layer2->setContentBounds(IntSize(20, 20));
layer2->setDrawTransform(BehindMatrix);
layer2->setDrawsContent(true);
layer3->setBounds(IntSize(30, 30));
- layer3->setContentBounds(IntSize(30, 30));
layer3->setDrawTransform(FrontMatrix);
layer3->setDrawsContent(true);
layer4->setBounds(IntSize(40, 40));
- layer4->setContentBounds(IntSize(40, 40));
layer4->setDrawTransform(FrontMatrix);
layer4->setDrawsContent(true);
layer5->setBounds(IntSize(50, 50));
- layer5->setContentBounds(IntSize(50, 50));
layer5->setDrawTransform(BehindMatrix);
layer5->setDrawsContent(true);

Powered by Google App Engine
This is Rietveld 408576698