Fix ozone gbm platform build. R=freiling@chromium.org Review URL: https://codereview.chromium.org/1914073007 .
diff --git a/ui/ozone/platform/drm/gpu/gbm_surface_factory.cc b/ui/ozone/platform/drm/gpu/gbm_surface_factory.cc index 80a9b1f..51b2826 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 @@ 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() {