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

Unified Diff: cc/layer_tree_host_impl_unittest.cc

Issue 11360093: Mark layers that can use LCD text based on layer transform and opacity. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed unit tests Created 8 years, 1 month 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_tree_host_impl_unittest.cc
diff --git a/cc/layer_tree_host_impl_unittest.cc b/cc/layer_tree_host_impl_unittest.cc
index ddd393d1f036e0562ff26cb95dd614a3f69ddea8..e640f17b7e3b92590b5cfabfc43d06a8774fe653 100644
--- a/cc/layer_tree_host_impl_unittest.cc
+++ b/cc/layer_tree_host_impl_unittest.cc
@@ -1040,7 +1040,7 @@ TEST_P(LayerTreeHostImplTest, scrollNonCompositedRoot)
gfx::Size surfaceSize(10, 10);
scoped_ptr<LayerImpl> contentLayer = LayerImpl::create(1);
- contentLayer->setUseLCDText(true);
+ contentLayer->setCanUseLCDText(true);
contentLayer->setDrawsContent(true);
contentLayer->setPosition(gfx::PointF(0, 0));
contentLayer->setAnchorPoint(gfx::PointF(0, 0));

Powered by Google App Engine
This is Rietveld 408576698