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

Unified Diff: PerformanceTests/Layout/hindi-line-layout.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/hindi-line-layout.html
diff --git a/PerformanceTests/Layout/hindi-line-layout.html b/PerformanceTests/Layout/hindi-line-layout.html
index e7a40c24185562608fc1c1f9f9c6b2051cca21f7..c9b4feafd42661064519c916529bd02b63595b74 100644
--- a/PerformanceTests/Layout/hindi-line-layout.html
+++ b/PerformanceTests/Layout/hindi-line-layout.html
@@ -27,11 +27,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/flexbox-with-stretch-layout.html ('k') | PerformanceTests/Layout/layers_overlap_2d.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698