Index: ui/message_center/views/popup_alignment_delegate.h |
diff --git a/ui/message_center/views/popup_alignment_delegate.h b/ui/message_center/views/popup_alignment_delegate.h |
index 5a106047d344bef7ada3a0d98d56ca1da43326d5..e0ca6348cc662f3ec62a7ec8689c9a7538af358b 100644 |
--- a/ui/message_center/views/popup_alignment_delegate.h |
+++ b/ui/message_center/views/popup_alignment_delegate.h |
@@ -13,6 +13,10 @@ class Point; |
class Rect; |
} |
+namespace display { |
+using Display = gfx::Display; |
+} |
+ |
namespace message_center { |
class MessagePopupCollection; |
@@ -45,7 +49,7 @@ class MESSAGE_CENTER_EXPORT PopupAlignmentDelegate { |
// Called when a new toast appears or toasts are rearranged in the |display|. |
// The subclass may override this method to check the current desktop status |
// so that the toasts are arranged at the correct place. |
- virtual void RecomputeAlignment(const gfx::Display& display) = 0; |
+ virtual void RecomputeAlignment(const display::Display& display) = 0; |
protected: |
virtual ~PopupAlignmentDelegate(); |