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

Unified Diff: PerformanceTests/Layout/resources/character_fallback_test.js

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
« no previous file with comments | « PerformanceTests/Layout/line-layout-line-height.html ('k') | PerformanceTests/Layout/resources/floats.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: PerformanceTests/Layout/resources/character_fallback_test.js
diff --git a/PerformanceTests/Layout/resources/character_fallback_test.js b/PerformanceTests/Layout/resources/character_fallback_test.js
index d2fb2ad4e9053b73dc38182e6f6bc4bc78b627a0..9bf43a1f2b16892e3951488a140de348adc26bc6 100644
--- a/PerformanceTests/Layout/resources/character_fallback_test.js
+++ b/PerformanceTests/Layout/resources/character_fallback_test.js
@@ -21,7 +21,7 @@ function replaceTextAndWaitForLayout(charSelection) {
while (target.firstChild)
target.removeChild(target.firstChild);
target.appendChild(document.createTextNode(charSelection));
- target.offsetHeight;
+ PerfTestRunner.forceLayoutOrFullFrame();
}
function cleanup() {
« no previous file with comments | « PerformanceTests/Layout/line-layout-line-height.html ('k') | PerformanceTests/Layout/resources/floats.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698