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

Unified Diff: PerformanceTests/Layout/chapter-reflow.html

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/chapter-reflow.html
diff --git a/PerformanceTests/Layout/chapter-reflow.html b/PerformanceTests/Layout/chapter-reflow.html
index 11414895c0545da2d3b723d87a7fc75c1b354b30..f88a1b03a7a336a1830bcd0d6e3469a1bc23ebb2 100644
--- a/PerformanceTests/Layout/chapter-reflow.html
+++ b/PerformanceTests/Layout/chapter-reflow.html
@@ -71,11 +71,11 @@
function test() {
style.display = "block";
style.width = "280px";
- target.offsetLeft;
+ PerfTestRunner.forceLayoutOrFullFrame();
style.width = "300px";
- target.offsetLeft;
+ PerfTestRunner.forceLayoutOrFullFrame();
style.width = "290px";
- target.offsetLeft;
+ PerfTestRunner.forceLayoutOrFullFrame();
style.display = "none";
}
« no previous file with comments | « PerformanceTests/Layout/auto-grid-lots-of-data.html ('k') | PerformanceTests/Layout/chapter-reflow-once.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698