Index: cc/debug/ordered_texture_map.h |
diff --git a/cc/debug/ordered_texture_map.h b/cc/debug/ordered_texture_map.h |
deleted file mode 100644 |
index b4fef46a94d1b9319a658e5cff01f3da918ad55b..0000000000000000000000000000000000000000 |
--- a/cc/debug/ordered_texture_map.h |
+++ /dev/null |
@@ -1,46 +0,0 @@ |
-// Copyright 2013 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-#ifndef CC_DEBUG_ORDERED_TEXTURE_MAP_H_ |
-#define CC_DEBUG_ORDERED_TEXTURE_MAP_H_ |
- |
-#include <vector> |
- |
-#include "base/containers/hash_tables.h" |
-#include "base/memory/ref_counted.h" |
-#include "cc/base/cc_export.h" |
-#include "third_party/WebKit/public/platform/WebGraphicsContext3D.h" |
- |
-namespace cc { |
- |
-struct TestTexture; |
- |
-class CC_EXPORT OrderedTextureMap { |
- public: |
- OrderedTextureMap(); |
- ~OrderedTextureMap(); |
- |
- void Append(WebKit::WebGLId id, scoped_refptr<TestTexture> texture); |
- void Replace(WebKit::WebGLId id, scoped_refptr<TestTexture> texture); |
- void Remove(WebKit::WebGLId id); |
- |
- size_t Size(); |
- |
- bool ContainsId(WebKit::WebGLId id); |
- |
- scoped_refptr<TestTexture> TextureForId(WebKit::WebGLId id); |
- WebKit::WebGLId IdAt(size_t index); |
- |
- private: |
- typedef base::hash_map<WebKit::WebGLId, scoped_refptr<TestTexture> > |
- TextureMap; |
- typedef std::vector<WebKit::WebGLId> TextureList; |
- |
- TextureMap textures_; |
- TextureList ordered_textures_; |
-}; |
- |
-} // namespace cc |
- |
-#endif // CC_DEBUG_ORDERED_TEXTURE_MAP_H_ |