Index: services/ui/ws/test_utils.cc |
diff --git a/services/ui/ws/test_utils.cc b/services/ui/ws/test_utils.cc |
index 40debd5e20d291bf66542e2f115a4bff5dedccbe..26325452d31a759664aadd2475e9b979cd510325 100644 |
--- a/services/ui/ws/test_utils.cc |
+++ b/services/ui/ws/test_utils.cc |
@@ -4,6 +4,8 @@ |
#include "services/ui/ws/test_utils.h" |
+#include <utility> |
+ |
#include "base/memory/ptr_util.h" |
#include "cc/output/copy_output_request.h" |
#include "services/shell/public/interfaces/connector.mojom.h" |
@@ -46,7 +48,9 @@ class TestPlatformDisplay : public PlatformDisplay { |
void SetCapture() override {} |
void ReleaseCapture() override {} |
void SetCursorById(int32_t cursor) override { *cursor_id_storage_ = cursor; } |
- mojom::Rotation GetRotation() override { return mojom::Rotation::VALUE_0; } |
+ ::display::Display::Rotation GetRotation() override { |
+ return ::display::Display::Rotation::ROTATE_0; |
+ } |
float GetDeviceScaleFactor() override { |
return display_metrics_.device_scale_factor; |
} |