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

Unified Diff: chrome/test/perf/rendering/latency_tests.cc

Issue 9580021: Add test for RAF-spinning with no damage (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: marking test flaky for initial commit to be safe Created 8 years, 9 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 | « chrome/test/gpu/gpu_feature_browsertest.cc ('k') | chrome/test/perf/rendering/throughput_tests.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/perf/rendering/latency_tests.cc
diff --git a/chrome/test/perf/rendering/latency_tests.cc b/chrome/test/perf/rendering/latency_tests.cc
index aded8c609729aa5032ca32e357145849404217db..b299bc6b0eed6b785eba30c7e0a926ca2b5c4667 100644
--- a/chrome/test/perf/rendering/latency_tests.cc
+++ b/chrome/test/perf/rendering/latency_tests.cc
@@ -538,7 +538,7 @@ void LatencyTest::GetMeanFrameTimeMicros(int* frame_time) const {
// Search for compositor swaps (or UpdateRects in the software path).
analyzer_->FindEvents(query_swaps_, &events);
RateStats stats;
- ASSERT_TRUE(GetRateStats(events, &stats));
+ ASSERT_TRUE(GetRateStats(events, &stats, NULL));
// Check that the number of swaps is close to kNumFrames.
EXPECT_LT(num_frames_ - num_frames_ / 4, static_cast<int>(events.size()));
« no previous file with comments | « chrome/test/gpu/gpu_feature_browsertest.cc ('k') | chrome/test/perf/rendering/throughput_tests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698