summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/service/query_manager.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gpu/command_buffer/service/query_manager.cc')
-rw-r--r--gpu/command_buffer/service/query_manager.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpu/command_buffer/service/query_manager.cc b/gpu/command_buffer/service/query_manager.cc
index 8d85cff..5b06630 100644
--- a/gpu/command_buffer/service/query_manager.cc
+++ b/gpu/command_buffer/service/query_manager.cc
@@ -366,7 +366,7 @@ QueryManager::Query* QueryManager::CreateQuery(
QueryManager::Query* QueryManager::GetQuery(
GLuint client_id) {
QueryMap::iterator it = queries_.find(client_id);
- return it != queries_.end() ? it->second : NULL;
+ return it != queries_.end() ? it->second.get() : NULL;
}
void QueryManager::RemoveQuery(GLuint client_id) {