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

Unified Diff: ui/views/view_unittest.cc

Issue 1029943002: views: Make View::Paint non-virtual. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: paint-virtual: . Created 5 years, 9 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
« no previous file with comments | « ui/views/view.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_);
}
« no previous file with comments | « ui/views/view.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698