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

Unified Diff: ui/ozone/platform/dri/gbm_surface_factory.h

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 | « no previous file | ui/ozone/platform/dri/gbm_surface_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/dri/gbm_surface_factory.h
diff --git a/ui/ozone/platform/dri/gbm_surface_factory.h b/ui/ozone/platform/dri/gbm_surface_factory.h
index f3757be9a3491a825894ce2f2b3dcf38eb1283a6..1b913c0d35b836f3e4baa1613e8f629e3583653b 100644
--- a/ui/ozone/platform/dri/gbm_surface_factory.h
+++ b/ui/ozone/platform/dri/gbm_surface_factory.h
@@ -19,8 +19,7 @@ class GbmSurfaceFactory : public DriSurfaceFactory {
GbmSurfaceFactory(bool allow_surfaceless);
~GbmSurfaceFactory() override;
- void InitializeGpu(const scoped_refptr<GbmWrapper>& gbm,
- DrmDeviceManager* drm_device_manager,
+ void InitializeGpu(DrmDeviceManager* drm_device_manager,
DriWindowDelegateManager* window_manager);
// DriSurfaceFactory:
@@ -53,7 +52,6 @@ class GbmSurfaceFactory : public DriSurfaceFactory {
private:
scoped_refptr<GbmWrapper> GetGbmDevice(gfx::AcceleratedWidget widget);
- scoped_refptr<GbmWrapper> gbm_;
bool allow_surfaceless_;
DrmDeviceManager* drm_device_manager_; // Not owned.
« no previous file with comments | « no previous file | ui/ozone/platform/dri/gbm_surface_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698