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

Unified Diff: ui/compositor/layer.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: ui/compositor/layer.h
diff --git a/ui/compositor/layer.h b/ui/compositor/layer.h
index 5d7d3ec23349e872fbdfcf6a89fe0feed41e32f6..990c2323e8c2fc2f8a3136f5d168507f88b62807 100644
--- a/ui/compositor/layer.h
+++ b/ui/compositor/layer.h
@@ -332,8 +332,9 @@ class COMPOSITOR_EXPORT Layer
void PaintContents(
SkCanvas* canvas,
const gfx::Rect& clip,
+ bool can_use_lcd_text,
+ bool contents_opaque,
ContentLayerClient::GraphicsContextStatus gc_status) override;
- void DidChangeLayerCanUseLCDText() override {}
bool FillsBoundsCompletely() const override;
cc::Layer* cc_layer() { return cc_layer_; }

Powered by Google App Engine
This is Rietveld 408576698