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

Unified Diff: PerformanceTests/Layout/chapter-reflow-twice.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-twice.html
diff --git a/PerformanceTests/Layout/chapter-reflow-twice.html b/PerformanceTests/Layout/chapter-reflow-twice.html
index ea8a43a92754acdb0d56a94a45324076199cd363..66991d905c67d09d50f41b3967c81ef09d29a65e 100644
--- a/PerformanceTests/Layout/chapter-reflow-twice.html
+++ b/PerformanceTests/Layout/chapter-reflow-twice.html
@@ -73,15 +73,15 @@
style.fontSize = "10px";
style.width = "280px";
- target.offsetLeft;
+ PerfTestRunner.forceLayout();
style.width = "300px";
- target.offsetLeft;
+ PerfTestRunner.forceLayout();
style.fontSize = "12px";
style.width = "280px";
- target.offsetLeft;
+ PerfTestRunner.forceLayout();
style.width = "300px";
- target.offsetLeft;
+ PerfTestRunner.forceLayout();
style.display = "none";
}

Powered by Google App Engine
This is Rietveld 408576698