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

Unified Diff: webkit/compositor_bindings/web_content_layer_impl.cc

Issue 11274057: Used the new WebContentLayerClient::paintContents interface. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: chrome style 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 | « ui/compositor/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 201db58921bb39c896643c04687206f624b78cd4..d389ba0a7d504bbb73b1e814a1b0d1bc17a9d7f3 100644
--- a/webkit/compositor_bindings/web_content_layer_impl.cc
+++ b/webkit/compositor_bindings/web_content_layer_impl.cc
@@ -78,7 +78,12 @@ void WebContentLayerImpl::paintContents(SkCanvas* canvas, const IntRect& clip, F
if (!m_client)
return;
WebFloatRect webOpaque;
- m_client->paintContents(canvas, convert(clip), webOpaque);
+ m_client->paintContents(canvas,
+ convert(clip),
+#if WEBCONTENTLAYERCLIENT_HAS_CANPAINTLCDTEXT
+ m_layer->layer()->useLCDText(),
+#endif // WEBCONTENTLAYERCLIENT_HAS_CANPAINTLCDTEXT
+ webOpaque);
opaque = convert(webOpaque);
}
« no previous file with comments | « ui/compositor/layer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698