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

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: s/forceFullLayout/forceLayout/g Created 6 years, 2 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
Index: PerformanceTests/Layout/resources/floats.js
diff --git a/PerformanceTests/Layout/resources/floats.js b/PerformanceTests/Layout/resources/floats.js
index 58e456c4b92c80399f16dbabb0f291e656ea68ca..d37c26bf36904597d286e9b69dbf41560151fbdd 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.forceLayout();
}
resetTest();
container.style.display = "none";

Powered by Google App Engine
This is Rietveld 408576698