Index: ui/message_center/views/message_popup_collection.h |
diff --git a/ui/message_center/views/message_popup_collection.h b/ui/message_center/views/message_popup_collection.h |
index b255231bbc71d2e674bb91c798cb6cf8ca70b9eb..2910f24d9e9c9184150841832c6a649623bb6431 100644 |
--- a/ui/message_center/views/message_popup_collection.h |
+++ b/ui/message_center/views/message_popup_collection.h |
@@ -32,7 +32,10 @@ class Widget; |
namespace gfx { |
class Display; |
-class Screen; |
+} |
+ |
+namespace display { |
+using Display = gfx::Display; |
} |
namespace message_center { |
@@ -99,7 +102,7 @@ class MESSAGE_CENTER_EXPORT MessagePopupCollection |
void ForgetToast(ToastContentsView* toast); |
// Called when the display bounds has been changed. Used in Windows only. |
- void OnDisplayMetricsChanged(const gfx::Display& display); |
+ void OnDisplayMetricsChanged(const display::Display& display); |
// Used by ToastContentsView to locate itself. |
gfx::NativeView parent() const { return parent_; } |