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

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

Issue 16293004: Update gpu/ to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 7 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
Index: gpu/command_buffer/service/vertex_array_manager.cc
diff --git a/gpu/command_buffer/service/vertex_array_manager.cc b/gpu/command_buffer/service/vertex_array_manager.cc
index 65fa56c05b4fa1fc86ee81354e7cc0804e1dcccd..3b94fa72ba8f24983fa2958ee49f6ee85bcf3f44 100644
--- a/gpu/command_buffer/service/vertex_array_manager.cc
+++ b/gpu/command_buffer/service/vertex_array_manager.cc
@@ -47,7 +47,7 @@ VertexAttribManager* VertexArrayManager::GetVertexAttribManager(
void VertexArrayManager::RemoveVertexAttribManager(GLuint client_id) {
VertexAttribManagerMap::iterator it = vertex_attrib_managers_.find(client_id);
if (it != vertex_attrib_managers_.end()) {
- VertexAttribManager* vertex_attrib_manager = it->second;
+ VertexAttribManager* vertex_attrib_manager = it->second.get();
vertex_attrib_manager->MarkAsDeleted();
vertex_attrib_managers_.erase(it);
}
« no previous file with comments | « gpu/command_buffer/service/texture_manager_unittest.cc ('k') | gpu/command_buffer/service/vertex_attrib_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698