Index: ui/ozone/platform/drm/host/drm_window_host.cc |
diff --git a/ui/ozone/platform/drm/host/drm_window_host.cc b/ui/ozone/platform/drm/host/drm_window_host.cc |
index c7898312e8d467f09419a60d7fa0c211752c506f..e16ab0351ff828b6073ffdd5607baa6ce90a2771 100644 |
--- a/ui/ozone/platform/drm/host/drm_window_host.cc |
+++ b/ui/ozone/platform/drm/host/drm_window_host.cc |
@@ -47,12 +47,12 @@ DrmWindowHost::~DrmWindowHost() { |
window_manager_->RemoveWindow(widget_); |
cursor_->OnWindowRemoved(widget_); |
- sender_->RemoveChannelObserver(this); |
+ sender_->RemoveGpuThreadObserver(this); |
sender_->Send(new OzoneGpuMsg_DestroyWindow(widget_)); |
} |
void DrmWindowHost::Initialize() { |
- sender_->AddChannelObserver(this); |
+ sender_->AddGpuThreadObserver(this); |
PlatformEventSource::GetInstance()->AddPlatformEventDispatcher(this); |
cursor_->OnWindowAdded(widget_, bounds_, GetCursorConfinedBounds()); |
delegate_->OnAcceleratedWidgetAvailable(widget_, 1.f); |
@@ -188,13 +188,12 @@ uint32_t DrmWindowHost::DispatchEvent(const PlatformEvent& native_event) { |
return POST_DISPATCH_STOP_PROPAGATION; |
} |
-void DrmWindowHost::OnChannelEstablished() { |
+void DrmWindowHost::OnGpuThreadReady() { |
sender_->Send(new OzoneGpuMsg_CreateWindow(widget_)); |
SendBoundsChange(); |
} |
-void DrmWindowHost::OnChannelDestroyed() { |
-} |
+void DrmWindowHost::OnGpuThreadRetired() {} |
void DrmWindowHost::SendBoundsChange() { |
// Update the cursor before the window so that the cursor stays within the |