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

Unified Diff: cc/layer_tree_host_impl_unittest.cc

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: rebase 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
« no previous file with comments | « cc/layer_tree_host_impl.cc ('k') | cc/math_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer_tree_host_impl_unittest.cc
diff --git a/cc/layer_tree_host_impl_unittest.cc b/cc/layer_tree_host_impl_unittest.cc
index e2dda54c6c5b3aa99bf7e770731c93f6d4195ed5..d28de9f57fd2e41a0a734a29ac7b91d927439c7b 100644
--- a/cc/layer_tree_host_impl_unittest.cc
+++ b/cc/layer_tree_host_impl_unittest.cc
@@ -3822,9 +3822,9 @@ TEST_P(CCLayerTreeHostImplTest, surfaceTextureCaching)
myHostImpl->didDrawAllLayers(frame);
}
- // Change opacity on the intermediate layer
+ // Change location of the intermediate layer
WebTransformationMatrix transform = intermediateLayerPtr->transform();
- transform.setM11(1.0001);
+ transform.setM41(1.0001);
intermediateLayerPtr->setTransform(transform);
{
CCLayerTreeHostImpl::FrameData frame;
@@ -3985,9 +3985,9 @@ TEST_P(CCLayerTreeHostImplTest, surfaceTextureCachingNoPartialSwap)
myHostImpl->didDrawAllLayers(frame);
}
- // Change opacity on the intermediate layer
+ // Change location of the intermediate layer
WebTransformationMatrix transform = intermediateLayerPtr->transform();
- transform.setM11(1.0001);
+ transform.setM41(1.0001);
intermediateLayerPtr->setTransform(transform);
{
CCLayerTreeHostImpl::FrameData frame;
« no previous file with comments | « cc/layer_tree_host_impl.cc ('k') | cc/math_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698