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

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

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/chapter-reflow-thrice.html
diff --git a/PerformanceTests/Layout/chapter-reflow-thrice.html b/PerformanceTests/Layout/chapter-reflow-thrice.html
index d8f7471d514629dc4492ade89ac84220f0de9325..a60e2f84580a9ea305efdf14fedf1a4aaaaff575 100644
--- a/PerformanceTests/Layout/chapter-reflow-thrice.html
+++ b/PerformanceTests/Layout/chapter-reflow-thrice.html
@@ -73,19 +73,19 @@
style.fontSize = "10px";
style.width = "280px";
- target.offsetLeft;
+ PerfTestRunner.forceLayout();
style.width = "300px";
- target.offsetLeft;
+ PerfTestRunner.forceLayout();
style.width = "290px";
- target.offsetLeft;
+ PerfTestRunner.forceLayout();
style.fontSize = "12px";
style.width = "280px";
- target.offsetLeft;
+ PerfTestRunner.forceLayout();
style.width = "300px";
- target.offsetLeft;
+ PerfTestRunner.forceLayout();
style.width = "290px";
- target.offsetLeft;
+ PerfTestRunner.forceLayout();
style.display = "none";
}

Powered by Google App Engine
This is Rietveld 408576698