summaryrefslogtreecommitdiffstats
path: root/views/widget/widget.cc
diff options
context:
space:
mode:
Diffstat (limited to 'views/widget/widget.cc')
-rw-r--r--views/widget/widget.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/widget/widget.cc b/views/widget/widget.cc
index 88c7bf3..8944ff9 100644
--- a/views/widget/widget.cc
+++ b/views/widget/widget.cc
@@ -265,7 +265,7 @@ bool Widget::HasFocusManager() const {
return !!focus_manager_.get();
}
-void Widget::OnPaint(gfx::Canvas* canvas) {
+void Widget::OnNativeWidgetPaint(gfx::Canvas* canvas) {
GetRootView()->Paint(canvas);
RefreshCompositeTree();
}