Index: ui/views/view_unittest.cc |
diff --git a/ui/views/view_unittest.cc b/ui/views/view_unittest.cc |
index 707d9f2f34816bc25054a740be1a7b6a14ffb2d3..cd6b30fcfce6ba09c95544841d5ace2b240725f3 100644 |
--- a/ui/views/view_unittest.cc |
+++ b/ui/views/view_unittest.cc |
@@ -240,7 +240,7 @@ class TestView : public View { |
void OnMouseEntered(const ui::MouseEvent& event) override; |
void OnMouseExited(const ui::MouseEvent& event) override; |
- void Paint(gfx::Canvas* canvas, const CullSet& cull_set) override; |
+ void OnPaint(gfx::Canvas* canvas) override; |
void SchedulePaintInRect(const gfx::Rect& rect) override; |
bool AcceleratorPressed(const ui::Accelerator& accelerator) override; |
@@ -423,7 +423,7 @@ TEST_F(ViewTest, DeleteOnPressed) { |
// Painting |
//////////////////////////////////////////////////////////////////////////////// |
-void TestView::Paint(gfx::Canvas* canvas, const CullSet& cull_set) { |
+void TestView::OnPaint(gfx::Canvas* canvas) { |
canvas->sk_canvas()->getClipBounds(&last_clip_); |
} |