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

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

Issue 1914073007: Fix ozone gbm platform build. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 8 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 | no next file » | 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.cc
diff --git a/ui/ozone/platform/drm/gpu/gbm_surface_factory.cc b/ui/ozone/platform/drm/gpu/gbm_surface_factory.cc
index 80a9b1fa765396ef8a9fce83eaecc42658de270c..51b2826e5f70598f6c57e472a8b94a7ba6703f4f 100644
--- a/ui/ozone/platform/drm/gpu/gbm_surface_factory.cc
+++ b/ui/ozone/platform/drm/gpu/gbm_surface_factory.cc
@@ -139,12 +139,12 @@ scoped_refptr<ui::NativePixmap> GbmSurfaceFactory::CreateNativePixmapFromHandle(
drm_device_manager_->GetDrmDevice(widget).get();
DCHECK(drm);
- scoped_refptr<VgemPixmap> pixmap(new VgemPixmap(drm));
+ scoped_refptr<DrmDmabufPixmap> pixmap(new DrmDmabufPixmap(drm));
pixmap->Initialize(base::ScopedFD(handle.fd.fd), size.width(), size.height(),
handle.stride);
- return scoped_refptr<VgemPixmapWrapper>(
- new VgemPixmapWrapper(screen_manager_, pixmap));
+ return scoped_refptr<DrmDmabufPixmapWrapper>(
+ new DrmDmabufPixmapWrapper(screen_manager_, pixmap));
}
bool GbmSurfaceFactory::CanShowPrimaryPlaneAsOverlay() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698