Index: ui/message_center/views/notification_view_unittest.cc |
diff --git a/ui/message_center/views/notification_view_unittest.cc b/ui/message_center/views/notification_view_unittest.cc |
index cbf4bac709f7424670def1514faf9f70bb8a212e..930ccc094f1f40a14ef0b9b25133b49cf8db755e 100644 |
--- a/ui/message_center/views/notification_view_unittest.cc |
+++ b/ui/message_center/views/notification_view_unittest.cc |
@@ -167,11 +167,11 @@ class NotificationViewTest : public views::ViewsTestBase, |
std::vector<views::View*>::iterator current = vertical_order.begin(); |
std::vector<views::View*>::iterator last = current++; |
while (current != vertical_order.end()) { |
- gfx::Point last_point = (*last)->bounds().origin(); |
+ gfx::Point last_point = (*last)->origin(); |
views::View::ConvertPointToTarget( |
(*last), notification_view(), &last_point); |
- gfx::Point current_point = (*current)->bounds().origin(); |
+ gfx::Point current_point = (*current)->origin(); |
views::View::ConvertPointToTarget( |
(*current), notification_view(), ¤t_point); |