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

Unified Diff: PerformanceTests/Layout/resources/floats.js

Issue 675983004: Allow performance tests to test full rendering performance (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: layoutOrFullyRender -> forceLayoutOrFullFrame Created 6 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
Index: PerformanceTests/Layout/resources/floats.js
diff --git a/PerformanceTests/Layout/resources/floats.js b/PerformanceTests/Layout/resources/floats.js
index 58e456c4b92c80399f16dbabb0f291e656ea68ca..d0dfdec51cc789316de842c707f57744c9526fbc 100644
--- a/PerformanceTests/Layout/resources/floats.js
+++ b/PerformanceTests/Layout/resources/floats.js
@@ -49,8 +49,7 @@
var y = Math.floor(Math.random() * height);
var el = document.getElementById("float" + x + "_" + y);
el.className = toggle(el.className, "float", "float big");
- // Force a layout.
- container.clientHeight;
+ PerfTestRunner.forceLayoutOrFullFrame();
}
resetTest();
container.style.display = "none";

Powered by Google App Engine
This is Rietveld 408576698