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

Unified Diff: ui/message_center/views/message_list_view.cc

Issue 2877483003: Implements core logic for Pixel Canvas (Closed)
Patch Set: Resolving comments Created 3 years, 5 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
Index: ui/message_center/views/message_list_view.cc
diff --git a/ui/message_center/views/message_list_view.cc b/ui/message_center/views/message_list_view.cc
index 6a1b78426e6972f1984459360397c83bc056d8f2..3dc1c3af9a628645806e4c6d76a347c930fd73b2 100644
--- a/ui/message_center/views/message_list_view.cc
+++ b/ui/message_center/views/message_list_view.cc
@@ -177,12 +177,12 @@ int MessageListView::GetHeightForWidth(int width) const {
return height + GetInsets().height();
}
-void MessageListView::PaintChildren(const ui::PaintContext& context) {
+void MessageListView::PaintChildren(const views::PaintInfo& paint_info) {
// Paint in the inversed order. Otherwise upper notification may be
// hidden by the lower one.
for (int i = child_count() - 1; i >= 0; --i) {
if (!child_at(i)->layer())
- child_at(i)->Paint(context);
+ child_at(i)->Paint(paint_info);
}
}

Powered by Google App Engine
This is Rietveld 408576698