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

Unified Diff: ui/ozone/platform/cast/surface_factory_cast.cc

Issue 2768343002: Change namespace from ui to gfx for NativePixmap related code (Closed)
Patch Set: Addressed sadrul's remark Created 3 years, 9 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
Index: ui/ozone/platform/cast/surface_factory_cast.cc
diff --git a/ui/ozone/platform/cast/surface_factory_cast.cc b/ui/ozone/platform/cast/surface_factory_cast.cc
index 5dff4467074b8d06f28c3d4571d795cd8e5b299b..fca7ae8613d33b10f12daa9fa741192684a5ba68 100644
--- a/ui/ozone/platform/cast/surface_factory_cast.cc
+++ b/ui/ozone/platform/cast/surface_factory_cast.cc
@@ -45,7 +45,7 @@ class DummySurface : public SurfaceOzoneCanvas {
DISALLOW_COPY_AND_ASSIGN(DummySurface);
};
-class CastPixmap : public NativePixmap {
+class CastPixmap : public gfx::NativePixmap {
public:
explicit CastPixmap(GLOzoneEglCast* parent) : parent_(parent) {}
@@ -129,7 +129,7 @@ std::unique_ptr<SurfaceOzoneCanvas> SurfaceFactoryCast::CreateCanvasForWidget(
return base::WrapUnique<SurfaceOzoneCanvas>(new DummySurface());
}
-scoped_refptr<NativePixmap> SurfaceFactoryCast::CreateNativePixmap(
+scoped_refptr<gfx::NativePixmap> SurfaceFactoryCast::CreateNativePixmap(
gfx::AcceleratedWidget widget,
gfx::Size size,
gfx::BufferFormat format,
« no previous file with comments | « ui/ozone/platform/cast/surface_factory_cast.h ('k') | ui/ozone/platform/drm/client_native_pixmap_factory_gbm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698