Index: services/ui/ws/test_utils.h |
diff --git a/services/ui/ws/test_utils.h b/services/ui/ws/test_utils.h |
index b6fc6d819f087d2250f837a63ea788dcd32816c4..7e2cb3fecf88aa6e9db0b36e7c29813a692347b1 100644 |
--- a/services/ui/ws/test_utils.h |
+++ b/services/ui/ws/test_utils.h |
@@ -33,6 +33,7 @@ |
#include "services/ui/ws/window_tree.h" |
#include "services/ui/ws/window_tree_binding.h" |
#include "ui/display/display.h" |
+#include "ui/display/screen_base.h" |
#include "ui/display/types/display_constants.h" |
namespace ui { |
@@ -68,11 +69,10 @@ class TestScreenManager : public display::ScreenManager { |
void AddInterfaces(service_manager::InterfaceRegistry* registry) override {} |
void Init(display::ScreenManagerDelegate* delegate) override; |
void RequestCloseDisplay(int64_t display_id) override {} |
- int64_t GetPrimaryDisplayId() const override; |
private: |
- display::ScreenManagerDelegate* delegate_; |
- int64_t primary_display_id_ = display::kInvalidDisplayId; |
+ display::ScreenManagerDelegate* delegate_ = nullptr; |
+ std::unique_ptr<display::ScreenBase> screen_; |
std::set<int64_t> display_ids_; |
DISALLOW_COPY_AND_ASSIGN(TestScreenManager); |