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

Unified Diff: cc/test/solid_color_content_layer_client.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/test/solid_color_content_layer_client.h
diff --git a/cc/test/solid_color_content_layer_client.h b/cc/test/solid_color_content_layer_client.h
index a851b7202d3f2d872dc437e6c42d60e59d249099..a803283f31143b9ac3893bab5b067fcf098bbdd0 100644
--- a/cc/test/solid_color_content_layer_client.h
+++ b/cc/test/solid_color_content_layer_client.h
@@ -16,10 +16,11 @@ class SolidColorContentLayerClient : public ContentLayerClient {
explicit SolidColorContentLayerClient(SkColor color) : color_(color) {}
// ContentLayerClient implementation.
- void DidChangeLayerCanUseLCDText() override {}
void PaintContents(
SkCanvas* canvas,
const gfx::Rect& rect,
+ bool can_use_lcd_text,
+ bool contents_opaque,
ContentLayerClient::GraphicsContextStatus gc_status) override;
bool FillsBoundsCompletely() const override;

Powered by Google App Engine
This is Rietveld 408576698