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

Unified Diff: ui/ozone/platform/drm/cursor_proxy_mojo.h

Issue 2903353002: Make ozone/drm/mojo more immune to startup races (Closed)
Patch Set: simpler patch Created 3 years, 6 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 | « no previous file | ui/ozone/platform/drm/cursor_proxy_mojo.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/drm/cursor_proxy_mojo.h
diff --git a/ui/ozone/platform/drm/cursor_proxy_mojo.h b/ui/ozone/platform/drm/cursor_proxy_mojo.h
index 33577aee9ffc5322d09a9148cecc6474ef002179..e1bceff92082b05bae0ee91dd14aa0a10369452f 100644
--- a/ui/ozone/platform/drm/cursor_proxy_mojo.h
+++ b/ui/ozone/platform/drm/cursor_proxy_mojo.h
@@ -33,7 +33,7 @@ class CursorProxyMojo : public DrmCursorProxy {
const gfx::Point& point,
int frame_delay_ms) override;
void Move(gfx::AcceleratedWidget window, const gfx::Point& point) override;
- void InitializeOnEvdev() override;
+ void InitializeOnEvdevIfNecessary() override;
std::unique_ptr<service_manager::Connector> connector_;
@@ -41,7 +41,8 @@ class CursorProxyMojo : public DrmCursorProxy {
ui::ozone::mojom::DeviceCursorPtr main_cursor_ptr_;
ui::ozone::mojom::DeviceCursorPtr evdev_cursor_ptr_;
- base::PlatformThreadRef evdev_ref_;
+ base::PlatformThreadRef ui_thread_ref_;
+ DISALLOW_COPY_AND_ASSIGN(CursorProxyMojo);
};
} // namespace ui
« no previous file with comments | « no previous file | ui/ozone/platform/drm/cursor_proxy_mojo.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698