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

Unified Diff: ui/ozone/platform/drm/gpu/drm_device.cc

Issue 2695593009: Use the location where FileDescriptorWatcher is created to track the libevent handlers (Closed)
Patch Set: fix mac. Created 3 years, 10 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/events/platform/x11/x11_event_source_libevent.cc ('k') | ui/ozone/platform/wayland/fake_server.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/drm/gpu/drm_device.cc
diff --git a/ui/ozone/platform/drm/gpu/drm_device.cc b/ui/ozone/platform/drm/gpu/drm_device.cc
index 438edafc8708aabd18aa28c093634b7f2890aeb4..fc2d5565d8eca7bf649a293a9adf98d96c10618e 100644
--- a/ui/ozone/platform/drm/gpu/drm_device.cc
+++ b/ui/ozone/platform/drm/gpu/drm_device.cc
@@ -352,7 +352,7 @@ class DrmDevice::PageFlipManager {
class DrmDevice::IOWatcher : public base::MessagePumpLibevent::Watcher {
public:
IOWatcher(int fd, DrmDevice::PageFlipManager* page_flip_manager)
- : page_flip_manager_(page_flip_manager), fd_(fd) {
+ : page_flip_manager_(page_flip_manager), controller_(FROM_HERE), fd_(fd) {
Register();
}
« no previous file with comments | « ui/events/platform/x11/x11_event_source_libevent.cc ('k') | ui/ozone/platform/wayland/fake_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698