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

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 compile error 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.cc ('K') | « cc/tiled_layer.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 fe300b19339be07ab821049f366ddf208eddc407..1b503dbafaf98f9b431b55ff37e0e4a3f5d891d0 100644
--- a/webkit/compositor_bindings/web_content_layer_impl.cc
+++ b/webkit/compositor_bindings/web_content_layer_impl.cc
@@ -75,7 +75,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)
@@ -92,7 +92,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.cc ('K') | « cc/tiled_layer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698