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

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

Issue 1024083002: [Ozone-Drm] Notify cursor of channel established last (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 9 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
Index: ui/ozone/platform/drm/host/drm_cursor.cc
diff --git a/ui/ozone/platform/drm/host/drm_cursor.cc b/ui/ozone/platform/drm/host/drm_cursor.cc
index 0cb6329aa27e3ce6cfbef09377d9b57a0b38774d..f58b8c6485e1cf4337569980ee11c889dba7176c 100644
--- a/ui/ozone/platform/drm/host/drm_cursor.cc
+++ b/ui/ozone/platform/drm/host/drm_cursor.cc
@@ -10,7 +10,6 @@
#include "ui/gfx/geometry/point_conversions.h"
#include "ui/gfx/geometry/point_f.h"
#include "ui/ozone/common/gpu/ozone_gpu_messages.h"
-#include "ui/ozone/platform/drm/host/drm_gpu_platform_support_host.h"
#include "ui/ozone/platform/drm/host/drm_window_host.h"
#include "ui/ozone/platform/drm/host/drm_window_host_manager.h"
@@ -20,18 +19,11 @@
namespace ui {
-DrmCursor::DrmCursor(DrmWindowHostManager* window_manager,
- DrmGpuPlatformSupportHost* gpu_platform_support_host)
- : window_manager_(window_manager),
- gpu_platform_support_host_(gpu_platform_support_host) {
+DrmCursor::DrmCursor(DrmWindowHostManager* window_manager)
+ : window_manager_(window_manager) {
}
DrmCursor::~DrmCursor() {
- gpu_platform_support_host_->UnregisterHandler(this);
-}
-
-void DrmCursor::Init() {
- gpu_platform_support_host_->RegisterHandler(this);
}
void DrmCursor::SetCursor(gfx::AcceleratedWidget window,

Powered by Google App Engine
This is Rietveld 408576698