Chromium Code Reviews| Index: cc/trees/layer_tree_host_unittest.cc |
| diff --git a/cc/trees/layer_tree_host_unittest.cc b/cc/trees/layer_tree_host_unittest.cc |
| index 01c5a184e5a51f291be96a8fd0b3f17e5225107a..55551356df109c6a3a4504c7fc50a04f94b58327 100644 |
| --- a/cc/trees/layer_tree_host_unittest.cc |
| +++ b/cc/trees/layer_tree_host_unittest.cc |
| @@ -1240,8 +1240,11 @@ class TestOpacityChangeLayerDelegate : public ContentLayerClient { |
| void SetTestLayer(Layer* test_layer) { test_layer_ = test_layer; } |
| - virtual void PaintContents(SkCanvas*, const gfx::Rect&, |
| - gfx::RectF*) OVERRIDE { |
| + virtual void PaintContents( |
| + SkCanvas* canvas, |
| + const gfx::Rect& clip, |
| + gfx::RectF* opaque, |
| + ContentLayerClient::GraphicsContextStatus gc_status) OVERRIDE { |
| // Set layer opacity to 0. |
| if (test_layer_) |
| test_layer_->SetOpacity(0.f); |
| @@ -2521,9 +2524,11 @@ class LayerTreeHostTestLCDNotification : public LayerTreeHostTest { |
| int paint_count() const { return paint_count_; } |
| int lcd_notification_count() const { return lcd_notification_count_; } |
| - virtual void PaintContents(SkCanvas* canvas, |
| - const gfx::Rect& clip, |
| - gfx::RectF* opaque) OVERRIDE { |
| + virtual void PaintContents( |
| + SkCanvas* canvas, |
| + const gfx::Rect& clip, |
| + gfx::RectF* opaque, |
| + ContentLayerClient::GraphicsContextStatus) OVERRIDE { |
|
danakj
2014/05/01 20:31:57
variable name missed here
Stephen Chennney
2014/05/02 18:40:44
Done.
|
| ++paint_count_; |
| } |
| virtual void DidChangeLayerCanUseLCDText() OVERRIDE { |
| @@ -2762,9 +2767,11 @@ class LayerTreeHostTestChangeLayerPropertiesInPaintContents |
| void set_layer(Layer* layer) { layer_ = layer; } |
| - virtual void PaintContents(SkCanvas* canvas, |
| - const gfx::Rect& clip, |
| - gfx::RectF* opaque) OVERRIDE { |
| + virtual void PaintContents( |
| + SkCanvas* canvas, |
| + const gfx::Rect& clip, |
| + gfx::RectF* opaque, |
| + ContentLayerClient::GraphicsContextStatus) OVERRIDE { |
|
danakj
2014/05/01 20:31:57
and here
Stephen Chennney
2014/05/02 18:40:44
Done.
|
| layer_->SetBounds(gfx::Size(2, 2)); |
| } |