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

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: PerfTestRunner.layoutOrFullyRender() 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/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..937cf95c3e0b22ffa445f2fcf1b1b3c7193e563a 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.layoutOrFullyRender();
}
function cleanup() {

Powered by Google App Engine
This is Rietveld 408576698