Index: ui/ozone/platform/drm/host/drm_display_host.cc |
diff --git a/ui/ozone/platform/drm/host/drm_display_host.cc b/ui/ozone/platform/drm/host/drm_display_host.cc |
index daba8d75857a1b93d674c4431062946672e708d6..463c108f9c261e4fcf09408e1fc28d10d8da9db6 100644 |
--- a/ui/ozone/platform/drm/host/drm_display_host.cc |
+++ b/ui/ozone/platform/drm/host/drm_display_host.cc |
@@ -10,22 +10,11 @@ |
#include "base/threading/thread_task_runner_handle.h" |
#include "ui/display/types/display_mode.h" |
#include "ui/ozone/common/display_snapshot_proxy.h" |
+#include "ui/ozone/platform/drm/common/drm_util.h" |
#include "ui/ozone/platform/drm/host/gpu_thread_adapter.h" |
namespace ui { |
-namespace { |
- |
-DisplayMode_Params GetDisplayModeParams(const display::DisplayMode& mode) { |
- DisplayMode_Params params; |
- params.size = mode.size(); |
- params.is_interlaced = mode.is_interlaced(); |
- params.refresh_rate = mode.refresh_rate(); |
- return params; |
-} |
- |
-} // namespace |
- |
DrmDisplayHost::DrmDisplayHost(GpuThreadAdapter* sender, |
const DisplaySnapshot_Params& params, |
bool is_dummy) |