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

Unified Diff: PerformanceTests/Layout/ArabicLineLayout.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/ArabicLineLayout.html
diff --git a/PerformanceTests/Layout/ArabicLineLayout.html b/PerformanceTests/Layout/ArabicLineLayout.html
index b512379c3b691a1fa5641d87b804d42b707e8f00..e795c9c6be4f6927be024a11356385acc509cfcb 100644
--- a/PerformanceTests/Layout/ArabicLineLayout.html
+++ b/PerformanceTests/Layout/ArabicLineLayout.html
@@ -36,11 +36,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/Interactive/resources/window-resize.js ('k') | PerformanceTests/Layout/Shapes/MultipleShapes.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698