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

Unified Diff: cc/solid_color_layer_impl_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/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 c43ca5c1904b63cef3332bf3f71bdcb77fa941fd..193d04776a3b57d2abe52e698fd2109a1c10e949 100644
--- a/cc/solid_color_layer_impl_unittest.cc
+++ b/cc/solid_color_layer_impl_unittest.cc
@@ -30,7 +30,6 @@ TEST(SolidColorLayerImplTest, verifyTilingCompleteAndNoOverlap)
scoped_ptr<SolidColorLayerImpl> layer = SolidColorLayerImpl::create(1);
layer->setVisibleContentRect(visibleContentRect);
layer->setBounds(layerSize);
- layer->setContentBounds(layerSize);
layer->createRenderSurface();
layer->setRenderTarget(layer.get());
@@ -53,7 +52,6 @@ TEST(SolidColorLayerImplTest, verifyCorrectBackgroundColorInQuad)
scoped_ptr<SolidColorLayerImpl> layer = SolidColorLayerImpl::create(1);
layer->setVisibleContentRect(visibleContentRect);
layer->setBounds(layerSize);
- layer->setContentBounds(layerSize);
layer->setBackgroundColor(testColor);
layer->createRenderSurface();
layer->setRenderTarget(layer.get());
@@ -78,7 +76,6 @@ TEST(SolidColorLayerImplTest, verifyCorrectOpacityInQuad)
scoped_ptr<SolidColorLayerImpl> layer = SolidColorLayerImpl::create(1);
layer->setVisibleContentRect(visibleContentRect);
layer->setBounds(layerSize);
- layer->setContentBounds(layerSize);
layer->setDrawOpacity(opacity);
layer->createRenderSurface();
layer->setRenderTarget(layer.get());

Powered by Google App Engine
This is Rietveld 408576698