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

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

Issue 2732533002: Remove a redundant clear() call (Closed)
Patch Set: Created 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/query_manager.cc
diff --git a/gpu/command_buffer/service/query_manager.cc b/gpu/command_buffer/service/query_manager.cc
index 9c1ac4280a80125c003b9dcb093da448f2262930..8c2fe286e6796d22cf33ad06a2ab0d2c48efdd82 100644
--- a/gpu/command_buffer/service/query_manager.cc
+++ b/gpu/command_buffer/service/query_manager.cc
@@ -742,7 +742,6 @@ void QueryManager::Destroy(bool have_context) {
active_queries_.clear();
pending_queries_.clear();
pending_transfer_queries_.clear();
- active_queries_.clear();
while (!queries_.empty()) {
Query* query = queries_.begin()->second.get();
query->Destroy(have_context);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698