Index: cc/trees/layer_tree_host_pixeltest_masks.cc |
diff --git a/cc/trees/layer_tree_host_pixeltest_masks.cc b/cc/trees/layer_tree_host_pixeltest_masks.cc |
index f4f174c49817b525ee1b04edd386e7d4b31e4f8c..ed13cd7c4bdd79c42b0ef171ab78f45b71be712b 100644 |
--- a/cc/trees/layer_tree_host_pixeltest_masks.cc |
+++ b/cc/trees/layer_tree_host_pixeltest_masks.cc |
@@ -24,13 +24,13 @@ class MaskContentLayerClient : public ContentLayerClient { |
explicit MaskContentLayerClient(const gfx::Size& bounds) : bounds_(bounds) {} |
~MaskContentLayerClient() override {} |
- void DidChangeLayerCanUseLCDText() override {} |
- |
bool FillsBoundsCompletely() const override { return false; } |
void PaintContents( |
SkCanvas* canvas, |
const gfx::Rect& rect, |
+ bool can_use_lcd_text, |
+ bool contents_opaque, |
ContentLayerClient::GraphicsContextStatus gc_status) override { |
SkPaint paint; |
paint.setStyle(SkPaint::kStroke_Style); |
@@ -91,6 +91,8 @@ TEST_P(LayerTreeHostMasksPixelTest, ImageMaskOfLayer) { |
MaskContentLayerClient client(mask_bounds); |
client.PaintContents(&canvas, |
gfx::Rect(mask_bounds), |
+ false, |
+ false, |
ContentLayerClient::GRAPHICS_CONTEXT_ENABLED); |
mask->SetBitmap(bitmap); |