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

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

Issue 10729002: Fix latency tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove expect that no longer works Created 8 years, 6 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 | content/browser/renderer_host/render_widget_host_view_mac.mm » ('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 3fe99fee4fd04f7af8f5e136e3a06daf554af2f9..44006d07f78088993f4bdd640cce0f863a67aefe 100644
--- a/chrome/test/perf/rendering/latency_tests.cc
+++ b/chrome/test/perf/rendering/latency_tests.cc
@@ -472,12 +472,11 @@ double LatencyTest::CalculateLatency() {
// Skip this SwapBuffers if the blit has already been consumed by a
// previous SwapBuffers. This means the current frame did not receive
// an update from WebGL.
- EXPECT_GT(blit_pos, previous_blit_pos);
if (blit_pos == previous_blit_pos) {
if (verbose_)
- printf(" %03d: ERROR\n", swap_count);
+ printf(" %03d: MISS_BLIT\n", swap_count);
else
- printf(" ERROR");
+ printf(" MISS_BLIT");
continue;
}
previous_blit_pos = blit_pos;
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_view_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698