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

Unified Diff: gpu/command_buffer/service/texture_manager.cc

Issue 12321068: Add GL State Restoring Functions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 10 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 | « gpu/command_buffer/service/texture_manager.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/texture_manager.cc
diff --git a/gpu/command_buffer/service/texture_manager.cc b/gpu/command_buffer/service/texture_manager.cc
index a9238aaa47fb3e65eea4a782853e7c96901f4e34..3937e4819a12a7e7731009d393898472a4d95da6 100644
--- a/gpu/command_buffer/service/texture_manager.cc
+++ b/gpu/command_buffer/service/texture_manager.cc
@@ -1106,8 +1106,8 @@ TextureManager::TextureInfo* TextureManager::CreateTextureInfo(
}
TextureManager::TextureInfo* TextureManager::GetTextureInfo(
- GLuint client_id) {
- TextureInfoMap::iterator it = texture_infos_.find(client_id);
+ GLuint client_id) const {
+ TextureInfoMap::const_iterator it = texture_infos_.find(client_id);
return it != texture_infos_.end() ? it->second : NULL;
}
« no previous file with comments | « gpu/command_buffer/service/texture_manager.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698