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

Unified Diff: ui/ozone/platform/dri/ozone_platform_gbm.cc

Issue 955013002: Use the DrmDeviceManager to get the primary device in GbmSurfaceFactory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « ui/ozone/platform/dri/gbm_surface_factory.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/dri/ozone_platform_gbm.cc
diff --git a/ui/ozone/platform/dri/ozone_platform_gbm.cc b/ui/ozone/platform/dri/ozone_platform_gbm.cc
index dcfbbcb8cb61dd811e11ac83a20014014e31c4a6..38a6963d586845a277cdb8f9db0b372c948f0952 100644
--- a/ui/ozone/platform/dri/ozone_platform_gbm.cc
+++ b/ui/ozone/platform/dri/ozone_platform_gbm.cc
@@ -189,7 +189,7 @@ class OzonePlatformGbm : public OzonePlatform {
if (!surface_factory_ozone_)
surface_factory_ozone_.reset(new GbmSurfaceFactory(use_surfaceless_));
- surface_factory_ozone_->InitializeGpu(gbm_, drm_device_manager_.get(),
+ surface_factory_ozone_->InitializeGpu(drm_device_manager_.get(),
window_delegate_manager_.get());
scoped_ptr<NativeDisplayDelegateDri> ndd(new NativeDisplayDelegateDri(
screen_manager_.get(), gbm_,
« no previous file with comments | « ui/ozone/platform/dri/gbm_surface_factory.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698