| Index: ui/ozone/platform/drm/gpu/drm_device.h
|
| diff --git a/ui/ozone/platform/drm/gpu/drm_device.h b/ui/ozone/platform/drm/gpu/drm_device.h
|
| index 7a1a98f50d2dbabbe6a30500d27cc6ef10ce31da..0e72c992ece48e178c7b6d94221e5684a988179a 100644
|
| --- a/ui/ozone/platform/drm/gpu/drm_device.h
|
| +++ b/ui/ozone/platform/drm/gpu/drm_device.h
|
| @@ -49,10 +49,6 @@ class OZONE_EXPORT DrmDevice : public base::RefCountedThreadSafe<DrmDevice> {
|
| // Open device.
|
| virtual bool Initialize(bool use_atomic);
|
|
|
| - // |task_runner| will be used to asynchronously page flip.
|
| - virtual void InitializeTaskRunner(
|
| - const scoped_refptr<base::SingleThreadTaskRunner>& task_runner);
|
| -
|
| // Get the CRTC state. This is generally used to save state before using the
|
| // CRTC. When the user finishes using the CRTC, the user should restore the
|
| // CRTC to it's initial state. Use |SetCrtc| to restore the state.
|
| @@ -192,13 +188,10 @@ class OZONE_EXPORT DrmDevice : public base::RefCountedThreadSafe<DrmDevice> {
|
| // DRM device.
|
| base::File file_;
|
|
|
| - // Helper thread to perform IO listener operations.
|
| - scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
|
| + scoped_ptr<PageFlipManager> page_flip_manager_;
|
|
|
| // Watcher for |fd_| listening for page flip events.
|
| - scoped_refptr<IOWatcher> watcher_;
|
| -
|
| - scoped_refptr<PageFlipManager> page_flip_manager_;
|
| + scoped_ptr<IOWatcher> watcher_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(DrmDevice);
|
| };
|
|
|