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

Unified Diff: cc/tiled_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/tiled_layer_impl_unittest.cc
diff --git a/cc/tiled_layer_impl_unittest.cc b/cc/tiled_layer_impl_unittest.cc
index e8c066f96132f56e3515b5a359d4720f2475d655..3339f516e72f29442ef4c855a7a67a2f16f2557d 100644
--- a/cc/tiled_layer_impl_unittest.cc
+++ b/cc/tiled_layer_impl_unittest.cc
@@ -32,7 +32,6 @@ static scoped_ptr<TiledLayerImpl> createLayer(const IntSize& tileSize, const Int
layer->setVisibleContentRect(IntRect(IntPoint(), layerSize));
layer->setDrawOpacity(1);
layer->setBounds(layerSize);
- layer->setContentBounds(layerSize);
layer->createRenderSurface();
layer->setRenderTarget(layer.get());

Powered by Google App Engine
This is Rietveld 408576698