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

Unified Diff: cc/CCLayerIteratorTest.cpp

Issue 10915313: cc: Apply the layer's initial CSS scale to the contentsScale to render text at the right resolution. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: initialCssScale Created 8 years, 3 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/CCLayerIteratorTest.cpp
diff --git a/cc/CCLayerIteratorTest.cpp b/cc/CCLayerIteratorTest.cpp
index 47e43be7a9871b421d9123e43b52f9be20b3bba6..336414732cdc62c423539ae35c760eaccceb19b7 100644
--- a/cc/CCLayerIteratorTest.cpp
+++ b/cc/CCLayerIteratorTest.cpp
@@ -127,7 +127,7 @@ TEST(CCLayerIteratorTest, simpleTree)
rootLayer->addChild(fourth);
Vector<RefPtr<LayerChromium> > renderSurfaceLayerList;
- CCLayerTreeHostCommon::calculateDrawTransforms(rootLayer.get(), rootLayer->bounds(), 1, 256, renderSurfaceLayerList);
+ CCLayerTreeHostCommon::calculateDrawTransforms(rootLayer.get(), rootLayer->bounds(), 1, 1, 256, renderSurfaceLayerList);
CCLayerTreeHostCommon::calculateVisibleRects(renderSurfaceLayerList);
iterateBackToFront(&renderSurfaceLayerList);
@@ -170,7 +170,7 @@ TEST(CCLayerIteratorTest, complexTree)
root23->addChild(root231);
Vector<RefPtr<LayerChromium> > renderSurfaceLayerList;
- CCLayerTreeHostCommon::calculateDrawTransforms(rootLayer.get(), rootLayer->bounds(), 1, 256, renderSurfaceLayerList);
+ CCLayerTreeHostCommon::calculateDrawTransforms(rootLayer.get(), rootLayer->bounds(), 1, 1, 256, renderSurfaceLayerList);
CCLayerTreeHostCommon::calculateVisibleRects(renderSurfaceLayerList);
iterateBackToFront(&renderSurfaceLayerList);
@@ -226,7 +226,7 @@ TEST(CCLayerIteratorTest, complexTreeMultiSurface)
root23->addChild(root231);
Vector<RefPtr<LayerChromium> > renderSurfaceLayerList;
- CCLayerTreeHostCommon::calculateDrawTransforms(rootLayer.get(), rootLayer->bounds(), 1, 256, renderSurfaceLayerList);
+ CCLayerTreeHostCommon::calculateDrawTransforms(rootLayer.get(), rootLayer->bounds(), 1, 1, 256, renderSurfaceLayerList);
CCLayerTreeHostCommon::calculateVisibleRects(renderSurfaceLayerList);
iterateBackToFront(&renderSurfaceLayerList);
« no previous file with comments | « cc/CCDamageTrackerTest.cpp ('k') | cc/CCLayerTreeHost.cpp » ('j') | cc/CCLayerTreeHostCommon.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698