Index: components/exo/wm_helper_mus.cc |
diff --git a/components/exo/wm_helper_mus.cc b/components/exo/wm_helper_mus.cc |
index 105691c8c44cfd5e09e00ceeb087e1ddcc0fdbf2..19b9a950a475fdbd1edc980f96c7c4a308c4c3bd 100644 |
--- a/components/exo/wm_helper_mus.cc |
+++ b/components/exo/wm_helper_mus.cc |
@@ -37,13 +37,14 @@ WMHelperMus::~WMHelperMus() { |
//////////////////////////////////////////////////////////////////////////////// |
// WMHelperMus, private: |
-const display::ManagedDisplayInfo WMHelperMus::GetDisplayInfo( |
+const display::ManagedDisplayInfo& WMHelperMus::GetDisplayInfo( |
int64_t display_id) const { |
// TODO(penghuang): Return real display info when it is supported in mus. |
- return display::ManagedDisplayInfo(display_id, "", false); |
+ static const display::ManagedDisplayInfo info; |
+ return info; |
} |
-aura::Window* WMHelperMus::GetContainer(int container_id) { |
+aura::Window* WMHelperMus::GetContainer(int64_t display_id, int container_id) { |
NOTIMPLEMENTED(); |
return nullptr; |
} |