git://git.webkit.org
/
WebKit-https.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[Font Loading] Crash when a single load request causes multiple fonts to fail loading
[WebKit-https.git]
/
Source
/
WebCore
/
dom
/
Document.cpp
diff --git
a/Source/WebCore/dom/Document.cpp
b/Source/WebCore/dom/Document.cpp
index
63d8ba0
..
c1d43fc
100644
(file)
--- a/
Source/WebCore/dom/Document.cpp
+++ b/
Source/WebCore/dom/Document.cpp
@@
-6706,6
+6706,7
@@
Document& Document::ensureTemplateDocument()
Ref<FontFaceSet> Document::fonts()
{
Ref<FontFaceSet> Document::fonts()
{
+ updateStyleIfNeeded();
return fontSelector().fontFaceSet();
}
return fontSelector().fontFaceSet();
}