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

Unified Diff: PerformanceTests/ShadowDOM/shadow-style-share-attr-selectors.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/ShadowDOM/shadow-style-share-attr-selectors.html
diff --git a/PerformanceTests/ShadowDOM/shadow-style-share-attr-selectors.html b/PerformanceTests/ShadowDOM/shadow-style-share-attr-selectors.html
index 90574d7e74e4f5ddf9453eac4188b3f4d45a40a6..4ead003afc09d3676571536f9931bd6058ee6f42 100644
--- a/PerformanceTests/ShadowDOM/shadow-style-share-attr-selectors.html
+++ b/PerformanceTests/ShadowDOM/shadow-style-share-attr-selectors.html
@@ -24,7 +24,7 @@
list.appendChild(host);
} while (++i < listSize);
- document.body.offsetHeight;
+ PerfTestRunner.forceLayoutOrFullFrame();
return PerfTestRunner.now() - start;
}
});
« no previous file with comments | « PerformanceTests/ShadowDOM/shadow-style-share.html ('k') | PerformanceTests/ShadowDOM/shadow-style-share-media-query.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698