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

Unified Diff: LayoutTests/http/tests/webfont/fontface-style-change.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/fontface-style-change.html
diff --git a/LayoutTests/http/tests/webfont/fontface-style-change.html b/LayoutTests/http/tests/webfont/fontface-style-change.html
index 5d248314d57c94264cb7461620ed913a8689a0ee..2c53b99be9471943bcaf0e761c8096aa89aee6a5 100644
--- a/LayoutTests/http/tests/webfont/fontface-style-change.html
+++ b/LayoutTests/http/tests/webfont/fontface-style-change.html
@@ -17,7 +17,7 @@ if (window.testRunner)
document.getElementById('testSpan').style.fontFamily = "TestFont";
if (window.testRunner)
- document.fonts.ready().then(function() { testRunner.notifyDone(); });
+ document.fonts.ready.then(function() { testRunner.notifyDone(); });
var style = document.getElementById('target');
style.parentNode.removeChild(style);

Powered by Google App Engine
This is Rietveld 408576698