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

Unified Diff: cc/resources/layer_painter.h

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/resources/layer_painter.h
diff --git a/cc/resources/layer_painter.h b/cc/resources/layer_painter.h
index 54dc434671d378ad0463c4c1f909a02059ddecd6..f3bba6c8cbd8966454c8ba103aad415244a01b4d 100644
--- a/cc/resources/layer_painter.h
+++ b/cc/resources/layer_painter.h
@@ -19,7 +19,10 @@ namespace cc {
class CC_EXPORT LayerPainter {
public:
virtual ~LayerPainter() {}
- virtual void Paint(SkCanvas* canvas, const gfx::Rect& content_rect) = 0;
+ virtual void Paint(SkCanvas* canvas,
+ const gfx::Rect& content_rect,
+ bool can_use_lcd_text,
+ bool contents_opaque) = 0;
};
} // namespace cc

Powered by Google App Engine
This is Rietveld 408576698