diff options
author | abarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-07 06:58:20 +0000 |
---|---|---|
committer | abarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-07 06:58:20 +0000 |
commit | c32e27083ff530651d7e03cff7e7bc05bac55359 (patch) | |
tree | ca25d186ec5e30b1c908369fc6d2951bfb2a45f5 /cc/test/ordered_texture_map.cc | |
parent | bb2999f3c773c9a04201b88b823f93c6de8b117f (diff) | |
download | chromium_src-c32e27083ff530651d7e03cff7e7bc05bac55359.zip chromium_src-c32e27083ff530651d7e03cff7e7bc05bac55359.tar.gz chromium_src-c32e27083ff530651d7e03cff7e7bc05bac55359.tar.bz2 |
Rename WebKit namespace to blink (part 5)
This CL updates all references to the WebKit namespace outside of content,
chrome, and components.
TBR=darin@chromium.org
BUG=295096
Review URL: https://codereview.chromium.org/61553006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233518 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/ordered_texture_map.cc')
-rw-r--r-- | cc/test/ordered_texture_map.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/cc/test/ordered_texture_map.cc b/cc/test/ordered_texture_map.cc index 71b20a4..9775e83 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]; } |