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

Unified Diff: ui/ozone/platform/drm/gpu/drm_device_manager.h

Issue 1311043016: Switch DRM platform to using a separate thread (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mv-drm-calls-on-thread2
Patch Set: . Created 5 years, 3 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
Index: ui/ozone/platform/drm/gpu/drm_device_manager.h
diff --git a/ui/ozone/platform/drm/gpu/drm_device_manager.h b/ui/ozone/platform/drm/gpu/drm_device_manager.h
index 34fe61335d62cb1bb9165d8ef3d7ea0467130f68..40991df0a97188f1115b14b32cb8e0abf7221de5 100644
--- a/ui/ozone/platform/drm/gpu/drm_device_manager.h
+++ b/ui/ozone/platform/drm/gpu/drm_device_manager.h
@@ -18,7 +18,6 @@
namespace base {
class FilePath;
struct FileDescriptor;
-class SingleThreadTaskRunner;
}
namespace ui {
@@ -41,9 +40,6 @@ class OZONE_EXPORT DrmDeviceManager {
bool AddDrmDevice(const base::FilePath& path, const base::FileDescriptor& fd);
void RemoveDrmDevice(const base::FilePath& path);
- void InitializeIOTaskRunner(
- const scoped_refptr<base::SingleThreadTaskRunner>& task_runner);
-
// Updates the device associated with |widget|.
void UpdateDrmDevice(gfx::AcceleratedWidget widget,
const scoped_refptr<DrmDevice>& device);
@@ -64,8 +60,6 @@ class OZONE_EXPORT DrmDeviceManager {
scoped_ptr<DrmDeviceGenerator> drm_device_generator_;
- scoped_refptr<base::SingleThreadTaskRunner> io_task_runner_;
-
DrmDeviceVector devices_;
std::map<gfx::AcceleratedWidget, scoped_refptr<DrmDevice>> drm_device_map_;

Powered by Google App Engine
This is Rietveld 408576698