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

Unified Diff: cc/test/surface_aggregator_test_helpers.cc

Issue 1437413002: cc: Remove ScopedPtrVector and cc::remove_if. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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/test/surface_aggregator_test_helpers.h ('k') | cc/test/surface_hittest_test_helpers.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/surface_aggregator_test_helpers.cc
diff --git a/cc/test/surface_aggregator_test_helpers.cc b/cc/test/surface_aggregator_test_helpers.cc
index 16a4b5bab306e98735bfff40f79402402e78d6c2..05e54b7a41348fe7bafa69ea7da50308f7da34d9 100644
--- a/cc/test/surface_aggregator_test_helpers.cc
+++ b/cc/test/surface_aggregator_test_helpers.cc
@@ -129,7 +129,7 @@ void TestPassesMatchExpectations(Pass* expected_passes,
for (size_t i = 0; i < passes->size(); ++i) {
SCOPED_TRACE(base::StringPrintf("Pass number %" PRIuS, i));
- RenderPass* pass = passes->at(i);
+ RenderPass* pass = (*passes)[i].get();
TestPassMatchesExpectations(expected_passes[i], pass);
}
}
« no previous file with comments | « cc/test/surface_aggregator_test_helpers.h ('k') | cc/test/surface_hittest_test_helpers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698