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

Unified Diff: cc/layers/tiled_layer_unittest.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/tiled_layer_unittest.cc
diff --git a/cc/layers/tiled_layer_unittest.cc b/cc/layers/tiled_layer_unittest.cc
index 0f3112c945d37dd0668352ca4e165c1221d4b8fe..2839c66b09890fb992669ea31f0faa1318c897da 100644
--- a/cc/layers/tiled_layer_unittest.cc
+++ b/cc/layers/tiled_layer_unittest.cc
@@ -1647,7 +1647,10 @@ class TrackingLayerPainter : public LayerPainter {
return make_scoped_ptr(new TrackingLayerPainter());
}
- void Paint(SkCanvas* canvas, const gfx::Rect& content_rect) override {
+ void Paint(SkCanvas* canvas,
+ const gfx::Rect& content_rect,
+ bool can_use_lcd_text,
+ bool contents_opaque) override {
painted_rect_ = content_rect;
}

Powered by Google App Engine
This is Rietveld 408576698