Index: gpu/command_buffer/service/program_manager.cc |
diff --git a/gpu/command_buffer/service/program_manager.cc b/gpu/command_buffer/service/program_manager.cc |
index 55cb39d0a53282c7f1c0b68da24f79472d9332fe..64d647a108af24c0a2e60b72bc83c4b193693037 100644 |
--- a/gpu/command_buffer/service/program_manager.cc |
+++ b/gpu/command_buffer/service/program_manager.cc |
@@ -1150,7 +1150,7 @@ Program* ProgramManager::CreateProgram( |
Program* ProgramManager::GetProgram(GLuint client_id) { |
ProgramMap::iterator it = programs_.find(client_id); |
- return it != programs_.end() ? it->second : NULL; |
+ return it != programs_.end() ? it->second.get() : NULL; |
} |
bool ProgramManager::GetClientId(GLuint service_id, GLuint* client_id) const { |