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 69164431c257ea089585881872abb57d643c85fd..82dfea019419f936f0e45c7e6b9a50dec4921a2e 100644 |
--- a/ui/ozone/platform/drm/gpu/drm_device.cc |
+++ b/ui/ozone/platform/drm/gpu/drm_device.cc |
@@ -268,17 +268,6 @@ class DrmDevice::IOWatcher |
DISALLOW_COPY_AND_ASSIGN(IOWatcher); |
}; |
-DrmDevice::DrmDevice(const base::FilePath& device_path) |
- : device_path_(device_path), |
- file_(device_path, |
- base::File::FLAG_OPEN | base::File::FLAG_READ | |
- base::File::FLAG_WRITE), |
- page_flip_manager_(new PageFlipManager()) { |
- LOG_IF(FATAL, !file_.IsValid()) |
- << "Failed to open '" << device_path_.value() |
- << "': " << base::File::ErrorToString(file_.error_details()); |
-} |
- |
DrmDevice::DrmDevice(const base::FilePath& device_path, base::File file) |
: device_path_(device_path), |
file_(file.Pass()), |