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

Unified Diff: ui/gl/gl_image_native_pixmap.h

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/gfx/native_pixmap.h ('k') | ui/gl/gl_image_native_pixmap.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_image_native_pixmap.h
diff --git a/ui/gl/gl_image_native_pixmap.h b/ui/gl/gl_image_native_pixmap.h
index ca6a8488c9d750d843fd5ee8a07c1bc42bd7d57d..8e6e5b32d1a2857aaa77ac581dfb134a824ac5f1 100644
--- a/ui/gl/gl_image_native_pixmap.h
+++ b/ui/gl/gl_image_native_pixmap.h
@@ -13,13 +13,13 @@
#include "ui/gl/gl_export.h"
#include "ui/gl/gl_image_egl.h"
-namespace ui {
+namespace gl {
class GL_EXPORT GLImageNativePixmap : public gl::GLImageEGL {
public:
GLImageNativePixmap(const gfx::Size& size, unsigned internalformat);
- bool Initialize(NativePixmap* pixmap, gfx::BufferFormat format);
+ bool Initialize(gfx::NativePixmap* pixmap, gfx::BufferFormat format);
// Overridden from GLImage:
unsigned GetInternalFormat() override;
@@ -41,10 +41,10 @@ class GL_EXPORT GLImageNativePixmap : public gl::GLImageEGL {
private:
unsigned internalformat_;
- scoped_refptr<NativePixmap> pixmap_;
+ scoped_refptr<gfx::NativePixmap> pixmap_;
bool has_image_flush_external_;
};
-} // namespace ui
+} // namespace gl
#endif // UI_GL_GL_IMAGE_NATIVE_PIXMAP_H_
« no previous file with comments | « ui/gfx/native_pixmap.h ('k') | ui/gl/gl_image_native_pixmap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698