diff options
Diffstat (limited to 'ash/display/screen_ash.cc')
-rw-r--r-- | ash/display/screen_ash.cc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/ash/display/screen_ash.cc b/ash/display/screen_ash.cc index 9d42e49e..0348cbe 100644 --- a/ash/display/screen_ash.cc +++ b/ash/display/screen_ash.cc @@ -188,9 +188,11 @@ const gfx::Display& ScreenAsh::GetDisplayForId(int64 display_id) { return GetDisplayManager()->GetDisplayForId(display_id); } -void ScreenAsh::NotifyBoundsChanged(const gfx::Display& display) { - FOR_EACH_OBSERVER(gfx::DisplayObserver, observers_, - OnDisplayBoundsChanged(display)); +void ScreenAsh::NotifyMetricsChanged(const gfx::Display& display, + uint32_t metrics) { + FOR_EACH_OBSERVER(gfx::DisplayObserver, + observers_, + OnDisplayMetricsChanged(display, metrics)); } void ScreenAsh::NotifyDisplayAdded(const gfx::Display& display) { |