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: LayoutTests/http/tests/webfont/webfont-performance-duration.html

Issue 816923002: Switch FontFaceSet#ready from a method to an attribute (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years 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: LayoutTests/http/tests/webfont/webfont-performance-duration.html
diff --git a/LayoutTests/http/tests/webfont/webfont-performance-duration.html b/LayoutTests/http/tests/webfont/webfont-performance-duration.html
index 9e226ee08e333b89c9d85926b83bb84ebe32edc9..ab5e60fb144f98a4696b74a4b5a2e1106cd07232 100644
--- a/LayoutTests/http/tests/webfont/webfont-performance-duration.html
+++ b/LayoutTests/http/tests/webfont/webfont-performance-duration.html
@@ -23,7 +23,7 @@ var entry;
resolve();
}, waitMillisBeforeFetching);
})).then(function() {
- return document.fonts.ready();
+ return document.fonts.ready;
}).then(function() {
setTimeout(function() {
var name = document.location.origin + '/misc/resources/acid3/font.ttf';

Powered by Google App Engine
This is Rietveld 408576698