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

Unified Diff: ui/gl/gl_image_native_pixmap.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
« no previous file with comments | « ui/gl/gl_image_native_pixmap.h ('k') | ui/ozone/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_image_native_pixmap.cc
diff --git a/ui/gl/gl_image_native_pixmap.cc b/ui/gl/gl_image_native_pixmap.cc
index 6acdc36390a46e069a1984230d72da1dce2cf68c..1e74c2d6a2f29b73fd25652d18b82f8a2f516298 100644
--- a/ui/gl/gl_image_native_pixmap.cc
+++ b/ui/gl/gl_image_native_pixmap.cc
@@ -23,7 +23,7 @@
#define DRM_FORMAT_YVU420 FOURCC('Y', 'V', '1', '2')
#define DRM_FORMAT_NV12 FOURCC('N', 'V', '1', '2')
-namespace ui {
+namespace gl {
namespace {
bool ValidInternalFormat(unsigned internalformat, gfx::BufferFormat format) {
@@ -121,7 +121,7 @@ GLImageNativePixmap::GLImageNativePixmap(const gfx::Size& size,
GLImageNativePixmap::~GLImageNativePixmap() {}
-bool GLImageNativePixmap::Initialize(NativePixmap* pixmap,
+bool GLImageNativePixmap::Initialize(gfx::NativePixmap* pixmap,
gfx::BufferFormat format) {
DCHECK(!pixmap_);
if (pixmap->GetEGLClientBuffer()) {
@@ -277,4 +277,4 @@ unsigned GLImageNativePixmap::GetInternalFormatForTesting(
return GL_NONE;
}
-} // namespace ui
+} // namespace gl
« no previous file with comments | « ui/gl/gl_image_native_pixmap.h ('k') | ui/ozone/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698