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

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 build Created 8 years 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/layer.h ('K') | « cc/occlusion_tracker_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 6f75ee2bfeb57c59e3f9de8cba31c5a3a553679d..57de6e36509365917fcd8eb467f9fa656dd5a35f 100644
--- a/webkit/compositor_bindings/web_content_layer_impl.cc
+++ b/webkit/compositor_bindings/web_content_layer_impl.cc
@@ -74,7 +74,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)
@@ -91,7 +91,7 @@ void WebContentLayerImpl::paintContents(SkCanvas* canvas, const gfx::Rect& clip,
m_client->paintContents(canvas,
clip,
#if WEBCONTENTLAYERCLIENT_HAS_CANPAINTLCDTEXT
enne (OOO) 2012/12/11 02:47:15 Can this be removed?
alokp 2012/12/11 05:07:21 Yes. It is on my TODO list. I will do it in a sepa
- m_layer->layer()->useLCDText(),
+ m_layer->layer()->canUseLCDText(),
#endif // WEBCONTENTLAYERCLIENT_HAS_CANPAINTLCDTEXT
webOpaque);
opaque = webOpaque;
« cc/layer.h ('K') | « cc/occlusion_tracker_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698