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

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

Issue 1147553003: ozone: Add atomic initialization path (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove flag for now Created 5 years, 7 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_generator.cc
diff --git a/ui/ozone/platform/drm/gpu/drm_device_generator.cc b/ui/ozone/platform/drm/gpu/drm_device_generator.cc
index 75ca66e16c284cbd89200aff0d548f584da22588..205269f14d9001902508d0a6ee22acab3cb56441 100644
--- a/ui/ozone/platform/drm/gpu/drm_device_generator.cc
+++ b/ui/ozone/platform/drm/gpu/drm_device_generator.cc
@@ -18,7 +18,7 @@ scoped_refptr<DrmDevice> DrmDeviceGenerator::CreateDevice(
const base::FilePath& device_path,
base::File file) {
scoped_refptr<DrmDevice> drm = new DrmDevice(device_path, file.Pass());
- if (drm->Initialize())
+ if (drm->Initialize(false))
return drm;
return nullptr;

Powered by Google App Engine
This is Rietveld 408576698