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

Unified Diff: ui/compositor/layer.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.h ('k') | webkit/compositor_bindings/web_content_layer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/layer.cc
diff --git a/ui/compositor/layer.cc b/ui/compositor/layer.cc
index 82bad5f3f5e296041e53a4d4b73ea6d2d77cae6c..3a76901f83140a1c37396de7e7704ffb9f005a3f 100644
--- a/ui/compositor/layer.cc
+++ b/ui/compositor/layer.cc
@@ -494,6 +494,9 @@ void Layer::OnDeviceScaleFactorChanged(float device_scale_factor) {
void Layer::paintContents(WebKit::WebCanvas* web_canvas,
const WebKit::WebRect& clip,
+#if WEBCONTENTLAYERCLIENT_HAS_CANPAINTLCDTEXT
+ bool can_paint_lcd_text,
+#endif // WEBCONTENTLAYERCLIENT_HAS_CANPAINTLCDTEXT
WebKit::WebFloatRect& opaque) {
TRACE_EVENT0("ui", "Layer::paintContents");
scoped_ptr<gfx::Canvas> canvas(gfx::Canvas::CreateCanvasWithoutScaling(
« no previous file with comments | « ui/compositor/layer.h ('k') | webkit/compositor_bindings/web_content_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698