DescriptionAllow creating font data while FontResource is revalidating
Before this patch, RemoteFontFaceSource::createFontData() returned a
blank fontdata ("loading fallback" fontdata) whenever
FontResource::isLoaded() is false. However, FontResource once loaded
can go back to "loading" state by resource revalidation. This caused a
bug where webfonts are not displayed when loaded in one frame and
immediately revalidated in another frame.
After this change, existing RemoteFontFaceSource returns fontdata from
FontResource, even while it is being revalidated by other
RemoteFontFaceSource instances.
BUG=602968, 652974, 692574
Patch Set 1 #Patch Set 2 : Allow to create font data while revalidating #Patch Set 3 : rebase #
Total comments: 2
Messages
Total messages: 16 (11 generated)
|