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

Unified Diff: cc/test/ordered_texture_map.h

Issue 133023002: Remove unnecessary use of blink typedefs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 | « cc/test/fake_web_graphics_context_3d.cc ('k') | cc/test/ordered_texture_map.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/ordered_texture_map.h
diff --git a/cc/test/ordered_texture_map.h b/cc/test/ordered_texture_map.h
index b82659532bee6a11f649a4daf4a95997e84faf53..4797c597603c177d16980bb329f6960625cff44d 100644
--- a/cc/test/ordered_texture_map.h
+++ b/cc/test/ordered_texture_map.h
@@ -9,7 +9,7 @@
#include "base/containers/hash_tables.h"
#include "base/memory/ref_counted.h"
-#include "third_party/WebKit/public/platform/WebGraphicsContext3D.h"
+#include "third_party/khronos/GLES2/gl2.h"
namespace cc {
@@ -20,21 +20,21 @@ class OrderedTextureMap {
OrderedTextureMap();
~OrderedTextureMap();
- void Append(blink::WebGLId id, scoped_refptr<TestTexture> texture);
- void Replace(blink::WebGLId id, scoped_refptr<TestTexture> texture);
- void Remove(blink::WebGLId id);
+ void Append(GLuint id, scoped_refptr<TestTexture> texture);
+ void Replace(GLuint id, scoped_refptr<TestTexture> texture);
+ void Remove(GLuint id);
size_t Size();
- bool ContainsId(blink::WebGLId id);
+ bool ContainsId(GLuint id);
- scoped_refptr<TestTexture> TextureForId(blink::WebGLId id);
- blink::WebGLId IdAt(size_t index);
+ scoped_refptr<TestTexture> TextureForId(GLuint id);
+ GLuint IdAt(size_t index);
private:
- typedef base::hash_map<blink::WebGLId, scoped_refptr<TestTexture> >
+ typedef base::hash_map<GLuint, scoped_refptr<TestTexture> >
TextureMap;
- typedef std::vector<blink::WebGLId> TextureList;
+ typedef std::vector<GLuint> TextureList;
TextureMap textures_;
TextureList ordered_textures_;
« no previous file with comments | « cc/test/fake_web_graphics_context_3d.cc ('k') | cc/test/ordered_texture_map.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698