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

Unified Diff: webkit/compositor_bindings/web_content_layer_impl.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
« cc/tiled_layer_unittest.cc ('K') | « cc/tiled_layer_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/compositor_bindings/web_content_layer_impl.cc
diff --git a/webkit/compositor_bindings/web_content_layer_impl.cc b/webkit/compositor_bindings/web_content_layer_impl.cc
index b42ca13d3ab9a3d7a4ca54e69be7c6f657ce5f65..5ae29fcf8f94dcb3bf0a6dc250dc8e63b318ad5e 100644
--- a/webkit/compositor_bindings/web_content_layer_impl.cc
+++ b/webkit/compositor_bindings/web_content_layer_impl.cc
@@ -61,7 +61,7 @@ void WebContentLayerImpl::setAutomaticallyComputeRasterScale(bool automatic)
void WebContentLayerImpl::setUseLCDText(bool enable)
{
- m_layer->layer()->setUseLCDText(enable);
+ m_layer->layer()->setCanUseLCDText(enable);
}
void WebContentLayerImpl::setDrawCheckerboardForMissingTiles(bool enable)
@@ -78,7 +78,7 @@ void WebContentLayerImpl::paintContents(SkCanvas* canvas, const gfx::Rect& clip,
m_client->paintContents(canvas,
clip,
#if WEBCONTENTLAYERCLIENT_HAS_CANPAINTLCDTEXT
- m_layer->layer()->useLCDText(),
+ m_layer->layer()->canUseLCDText(),
#endif // WEBCONTENTLAYERCLIENT_HAS_CANPAINTLCDTEXT
webOpaque);
opaque = webOpaque;
« cc/tiled_layer_unittest.cc ('K') | « cc/tiled_layer_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698