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

Unified Diff: cc/layers/picture_image_layer.cc

Issue 684653004: Plumb can_use_lcd_text, contents_opaque directly to ContentLayerClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
Index: cc/layers/picture_image_layer.cc
diff --git a/cc/layers/picture_image_layer.cc b/cc/layers/picture_image_layer.cc
index dba506ec8436f150cb22a2838059015a91b17358..e1d8bf762be1d243e5480fdd95c513df60b2976e 100644
--- a/cc/layers/picture_image_layer.cc
+++ b/cc/layers/picture_image_layer.cc
@@ -44,6 +44,8 @@ void PictureImageLayer::SetBitmap(const SkBitmap& bitmap) {
void PictureImageLayer::PaintContents(
SkCanvas* canvas,
const gfx::Rect& clip,
+ bool can_use_lcd_text,
+ bool contents_opaque,
ContentLayerClient::GraphicsContextStatus gc_status) {
if (!bitmap_.width() || !bitmap_.height())
return;

Powered by Google App Engine
This is Rietveld 408576698