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

Unified Diff: gpu/command_buffer/service/image_manager.h

Issue 1421903006: ui/gl: Move GLImage into gl namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ozone demo Created 5 years, 2 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: gpu/command_buffer/service/image_manager.h
diff --git a/gpu/command_buffer/service/image_manager.h b/gpu/command_buffer/service/image_manager.h
index 0a440f9e178a67b89ae0377c38eca53240cc8971..8ec1e3f2fad32b108517d31eb38fc61bc33541c6 100644
--- a/gpu/command_buffer/service/image_manager.h
+++ b/gpu/command_buffer/service/image_manager.h
@@ -10,7 +10,7 @@
#include "base/memory/ref_counted.h"
#include "gpu/gpu_export.h"
-namespace gfx {
+namespace gl {
class GLImage;
}
@@ -24,12 +24,12 @@ class GPU_EXPORT ImageManager {
~ImageManager();
void Destroy(bool have_context);
- void AddImage(gfx::GLImage* image, int32 service_id);
+ void AddImage(gl::GLImage* image, int32 service_id);
void RemoveImage(int32 service_id);
- gfx::GLImage* LookupImage(int32 service_id);
+ gl::GLImage* LookupImage(int32 service_id);
private:
- typedef base::hash_map<int32, scoped_refptr<gfx::GLImage> > GLImageMap;
+ typedef base::hash_map<int32, scoped_refptr<gl::GLImage>> GLImageMap;
GLImageMap images_;
DISALLOW_COPY_AND_ASSIGN(ImageManager);

Powered by Google App Engine
This is Rietveld 408576698