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

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

Issue 1350473002: Revert of ozone: Remove the "drm" software composited platform (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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
« no previous file with comments | « ui/ozone/platform/drm/gpu/drm_surface_unittest.cc ('k') | ui/ozone/platform/drm/gpu/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/drm/gpu/gbm_surface_factory.h
diff --git a/ui/ozone/platform/drm/gpu/gbm_surface_factory.h b/ui/ozone/platform/drm/gpu/gbm_surface_factory.h
index d092a3e08a19651187148503ad6fba54cc7c7d8b..d373f155f82ca7eb1feadb91f02c06886ad6d1e2 100644
--- a/ui/ozone/platform/drm/gpu/gbm_surface_factory.h
+++ b/ui/ozone/platform/drm/gpu/gbm_surface_factory.h
@@ -5,8 +5,7 @@
#ifndef UI_OZONE_PLATFORM_DRM_GPU_GBM_SURFACE_FACTORY_H_
#define UI_OZONE_PLATFORM_DRM_GPU_GBM_SURFACE_FACTORY_H_
-#include "base/threading/thread_checker.h"
-#include "ui/ozone/public/surface_factory_ozone.h"
+#include "ui/ozone/platform/drm/gpu/drm_surface_factory.h"
namespace ui {
@@ -15,7 +14,7 @@
class GbmDevice;
class ScreenManager;
-class GbmSurfaceFactory : public SurfaceFactoryOzone {
+class GbmSurfaceFactory : public DrmSurfaceFactory {
public:
GbmSurfaceFactory(bool allow_surfaceless);
~GbmSurfaceFactory() override;
@@ -48,9 +47,6 @@
bool allow_surfaceless_;
DrmDeviceManager* drm_device_manager_; // Not owned.
- ScreenManager* screen_manager_; // Not owned.
-
- base::ThreadChecker thread_checker_;
DISALLOW_COPY_AND_ASSIGN(GbmSurfaceFactory);
};
« no previous file with comments | « ui/ozone/platform/drm/gpu/drm_surface_unittest.cc ('k') | ui/ozone/platform/drm/gpu/gbm_surface_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698