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

Unified Diff: cc/test/ordered_texture_map.cc

Issue 61553006: Rename WebKit namespace to blink (part 5) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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/ordered_texture_map.h ('k') | cc/test/test_context_provider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/ordered_texture_map.cc
diff --git a/cc/test/ordered_texture_map.cc b/cc/test/ordered_texture_map.cc
index 71b20a4916e5d50cf1f2d02d01ccdf5a542ee8bb..9775e8362d252cb128b2de4ba1e6785c21877704 100644
--- a/cc/test/ordered_texture_map.cc
+++ b/cc/test/ordered_texture_map.cc
@@ -13,7 +13,7 @@ OrderedTextureMap::OrderedTextureMap() {}
OrderedTextureMap::~OrderedTextureMap() {}
-void OrderedTextureMap::Append(WebKit::WebGLId id,
+void OrderedTextureMap::Append(blink::WebGLId id,
scoped_refptr<TestTexture> texture) {
DCHECK(texture.get());
DCHECK(!ContainsId(id));
@@ -22,7 +22,7 @@ void OrderedTextureMap::Append(WebKit::WebGLId id,
ordered_textures_.push_back(id);
}
-void OrderedTextureMap::Replace(WebKit::WebGLId id,
+void OrderedTextureMap::Replace(blink::WebGLId id,
scoped_refptr<TestTexture> texture) {
DCHECK(texture.get());
DCHECK(ContainsId(id));
@@ -30,7 +30,7 @@ void OrderedTextureMap::Replace(WebKit::WebGLId id,
textures_[id] = texture;
}
-void OrderedTextureMap::Remove(WebKit::WebGLId id) {
+void OrderedTextureMap::Remove(blink::WebGLId id) {
TextureMap::iterator map_it = textures_.find(id);
DCHECK(map_it != textures_.end());
textures_.erase(map_it);
@@ -43,18 +43,18 @@ void OrderedTextureMap::Remove(WebKit::WebGLId id) {
size_t OrderedTextureMap::Size() { return ordered_textures_.size(); }
-bool OrderedTextureMap::ContainsId(WebKit::WebGLId id) {
+bool OrderedTextureMap::ContainsId(blink::WebGLId id) {
return textures_.find(id) != textures_.end();
}
-scoped_refptr<TestTexture> OrderedTextureMap::TextureForId(WebKit::WebGLId id) {
+scoped_refptr<TestTexture> OrderedTextureMap::TextureForId(blink::WebGLId id) {
DCHECK(ContainsId(id));
scoped_refptr<TestTexture> texture = textures_[id];
DCHECK(texture.get());
return texture;
}
-WebKit::WebGLId OrderedTextureMap::IdAt(size_t index) {
+blink::WebGLId OrderedTextureMap::IdAt(size_t index) {
DCHECK(index < Size());
return ordered_textures_[index];
}
« no previous file with comments | « cc/test/ordered_texture_map.h ('k') | cc/test/test_context_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698