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

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

Issue 348923002: ozone: Build fixes for gbm & component build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: everything is sideways Created 6 years, 6 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.h ('k') | ui/ozone/platform/dri/ozone_platform_gbm.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.cc
diff --git a/ui/ozone/platform/dri/gbm_surface_factory.cc b/ui/ozone/platform/dri/gbm_surface_factory.cc
index 5eb93fc427ee7cc6355427436f2bcaa356714786..9e9d3c4f68e567cb6369af327b6c4f019fe40f54 100644
--- a/ui/ozone/platform/dri/gbm_surface_factory.cc
+++ b/ui/ozone/platform/dri/gbm_surface_factory.cc
@@ -152,7 +152,7 @@ scoped_ptr<ui::SurfaceOzoneEGL> GbmSurfaceFactory::CreateEGLSurfaceForWidget(
new GbmSurfaceAdapter(screen_manager_->GetDisplayController(w)));
}
-gfx::NativeBufferOzone GbmSurfaceFactory::CreateNativeBuffer(
+ui::NativeBufferOzone GbmSurfaceFactory::CreateNativeBuffer(
gfx::Size size,
BufferFormat format) {
uint32_t gbm_format = 0;
@@ -181,7 +181,7 @@ gfx::NativeBufferOzone GbmSurfaceFactory::CreateNativeBuffer(
BufferData* data = BufferData::CreateData(drm_, buffer_object);
DCHECK(data) << "Failed to associate the buffer with the controller";
- return reinterpret_cast<gfx::NativeBufferOzone>(buffer_object);
+ return reinterpret_cast<ui::NativeBufferOzone>(buffer_object);
}
} // namespace ui
« no previous file with comments | « ui/ozone/platform/dri/gbm_surface_factory.h ('k') | ui/ozone/platform/dri/ozone_platform_gbm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698