Index: services/ui/display/platform_screen_impl_ozone.h |
diff --git a/services/ui/display/platform_screen_impl_ozone.h b/services/ui/display/platform_screen_impl_ozone.h |
index 0e89b57a09fbb93802d1d9382c08640e243431e7..fd99cccee99f9716958aa1d079e2c12147fbdb48 100644 |
--- a/services/ui/display/platform_screen_impl_ozone.h |
+++ b/services/ui/display/platform_screen_impl_ozone.h |
@@ -30,8 +30,7 @@ class PlatformScreenImplOzone : public PlatformScreen, |
// PlatformScreen: |
void Init() override; // Must not be called until after the ozone platform is |
// initialized. |
- void ConfigurePhysicalDisplay( |
- const ConfiguredDisplayCallback& callback) override; |
+ void ConfigureDisplays(PlatformScreenDelegate* delegate) override; |
int64_t GetPrimaryDisplayId() const override; |
// ui::DisplayConfigurator::Observer: |
@@ -41,6 +40,7 @@ class PlatformScreenImplOzone : public PlatformScreen, |
const ui::DisplayConfigurator::DisplayStateList& displays, |
ui::MultipleDisplayState failed_new_state) override; |
+ PlatformScreenDelegate* delegate_ = nullptr; |
ui::DisplayConfigurator display_configurator_; |
// TODO(kylechar): These values can/should be replaced by DisplayLayout. |
@@ -48,9 +48,6 @@ class PlatformScreenImplOzone : public PlatformScreen, |
std::set<uint64_t> displays_; |
gfx::Point next_display_origin_; |
- // Callback for when new displays are configured. |
- ConfiguredDisplayCallback callback_; |
- |
DISALLOW_COPY_AND_ASSIGN(PlatformScreenImplOzone); |
}; |