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

Unified Diff: cc/base/rtree_perftest.cc

Issue 2881063003: cc: Change RTree::Search to return results, add comments, more tests. (Closed)
Patch Set: update Created 3 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
« no previous file with comments | « cc/base/rtree.cc ('k') | cc/base/rtree_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/base/rtree_perftest.cc
diff --git a/cc/base/rtree_perftest.cc b/cc/base/rtree_perftest.cc
index d18d0f66fdf827fa6c53605bd0750369ba100b25..a060c79aaabaa12ead95d98b6a02a376fd471c04 100644
--- a/cc/base/rtree_perftest.cc
+++ b/cc/base/rtree_perftest.cc
@@ -50,8 +50,7 @@ class RTreePerfTest : public testing::Test {
timer_.Reset();
do {
- std::vector<size_t> results;
- rtree.Search(queries[query_index], &results);
+ rtree.Search(queries[query_index]);
query_index = (query_index + 1) % queries.size();
timer_.NextLap();
} while (!timer_.HasTimeLimitExpired());
« no previous file with comments | « cc/base/rtree.cc ('k') | cc/base/rtree_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698