| 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 9a7d904875cc836eb629ab817990d70e5ad9c9d4..814e4f1a113cca4f70294549abbf4808d1e153df 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.
|
| @@ -194,13 +190,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);
|
| };
|
|
|