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 73b918425ad08c97daa4a5acd0989b31781e240d..117e951b29d4a8e2201e35dbe2b8447792ddac54 100644 |
--- a/gpu/command_buffer/service/texture_manager.cc |
+++ b/gpu/command_buffer/service/texture_manager.cc |
@@ -1101,7 +1101,7 @@ TextureRef* TextureManager::CreateTexture( |
TextureRef* TextureManager::GetTexture( |
GLuint client_id) const { |
TextureMap::const_iterator it = textures_.find(client_id); |
- return it != textures_.end() ? it->second : NULL; |
+ return it != textures_.end() ? it->second.get() : NULL; |
} |
void TextureManager::RemoveTexture(GLuint client_id) { |