Replace font.bindDOM() with font.createFontFaceRule() in the FontLoader for MOZCENTRAL specific code (PR 6571 follow-up)

This is a follow-up to PR 6571, and fixes font loading in the `MOZCENTRAL` version.

Fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1228603#c2.
This commit is contained in:
Jonas Jenwald 2015-11-28 21:33:07 +01:00
parent a8279f7d60
commit e8e79029b1

View File

@ -280,7 +280,10 @@ FontLoader.prototype = {
// }
//
// font.attached = true;
// font.bindDOM()
// var rule = font.createFontFaceRule();
// if (rule) {
// this.insertRule(rule);
// }
// }
//
// setTimeout(callback);