Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(361)

Unified Diff: ui/ozone/platform/drm/host/drm_display_host.cc

Issue 2894523007: Use display::DisplayMode in ozone/drm/gpu (Closed)
Patch Set: review nits Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/ozone/platform/drm/gpu/proxy_helpers_unittest.cc ('k') | ui/ozone/platform/drm/mus_thread_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « ui/ozone/platform/drm/gpu/proxy_helpers_unittest.cc ('k') | ui/ozone/platform/drm/mus_thread_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698