summaryrefslogtreecommitdiffstats
path: root/gpu
diff options
context:
space:
mode:
authorgman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-19 21:24:22 +0000
committergman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-19 21:24:22 +0000
commitaacc3a296596f8a5ed982ef63c074d1296a35353 (patch)
treef220450c168c6a58ef1fdca1cc22abd85387a229 /gpu
parentb454257a794aa1691b2db61972cf16f28b4efa98 (diff)
downloadchromium_src-aacc3a296596f8a5ed982ef63c074d1296a35353.zip
chromium_src-aacc3a296596f8a5ed982ef63c074d1296a35353.tar.gz
chromium_src-aacc3a296596f8a5ed982ef63c074d1296a35353.tar.bz2
Remove unused code in StrictSharedIdHandler
TEST=none BUG=109504 R=jbauman@chromium.org Review URL: http://codereview.chromium.org/9732004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127537 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu')
-rw-r--r--gpu/command_buffer/client/gles2_implementation.cc10
1 files changed, 0 insertions, 10 deletions
diff --git a/gpu/command_buffer/client/gles2_implementation.cc b/gpu/command_buffer/client/gles2_implementation.cc
index 7965689..a265219 100644
--- a/gpu/command_buffer/client/gles2_implementation.cc
+++ b/gpu/command_buffer/client/gles2_implementation.cc
@@ -217,16 +217,6 @@ class StrictSharedIdHandler : public IdHandlerInterface {
return id;
}
- bool FreeId(GLuint id) {
- ResourceIdSet::iterator it = used_ids_.find(id);
- if (it == used_ids_.end()) {
- return false;
- }
- used_ids_.erase(it);
- free_ids_.push(id);
- return true;
- }
-
GLES2Implementation* gles2_;
id_namespaces::IdNamespaces id_namespace_;
ResourceIdSet used_ids_;