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

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: 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-twice.html
diff --git a/PerformanceTests/Layout/chapter-reflow-twice.html b/PerformanceTests/Layout/chapter-reflow-twice.html
index ea8a43a92754acdb0d56a94a45324076199cd363..910af403286e09f9ae2756c781c2968fb9ab8dc8 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.forceLayoutOrFullFrame();
style.width = "300px";
- target.offsetLeft;
+ PerfTestRunner.forceLayoutOrFullFrame();
style.fontSize = "12px";
style.width = "280px";
- target.offsetLeft;
+ PerfTestRunner.forceLayoutOrFullFrame();
style.width = "300px";
- target.offsetLeft;
+ PerfTestRunner.forceLayoutOrFullFrame();
style.display = "none";
}
« no previous file with comments | « PerformanceTests/Layout/chapter-reflow-thrice.html ('k') | PerformanceTests/Layout/fixed-grid-lots-of-data.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698