WebKit Bugzilla
Attachment 369436 Details for
Bug 197720
: CSSFontFaceSource fails to compile when !ENABLE(SVG_FONTS)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
bug-197720.diff (text/plain), 1.16 KB, created by
Don Olmstead
on 2019-05-08 15:36:04 PDT
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Don Olmstead
Created:
2019-05-08 15:36:04 PDT
Size:
1.16 KB
patch
obsolete
>diff --git a/Source/WebCore/ChangeLog b/Source/WebCore/ChangeLog >index 2c4faf7f2a9..2c6ec8b90dd 100644 >--- a/Source/WebCore/ChangeLog >+++ b/Source/WebCore/ChangeLog >@@ -1,3 +1,15 @@ >+2019-05-08 Don Olmstead <don.olmstead@sony.com> >+ >+ CSSFontFaceSource fails to compile when !ENABLE(SVG_FONTS) >+ https://bugs.webkit.org/show_bug.cgi?id=197720 >+ >+ Unreviewed build fix. >+ >+ Add usesInDocumentSVGFont to the !ENABLE(SVG_FONT) path. >+ >+ * css/CSSFontFaceSource.cpp: >+ (WebCore::CSSFontFaceSource::font): >+ > 2019-05-08 Timothy Hatcher <timothy@apple.com> > > Add plumbing for inactive system colors in RenderTheme cache. >diff --git a/Source/WebCore/css/CSSFontFaceSource.cpp b/Source/WebCore/css/CSSFontFaceSource.cpp >index 8c9b80fef6e..30be7f40828 100644 >--- a/Source/WebCore/css/CSSFontFaceSource.cpp >+++ b/Source/WebCore/css/CSSFontFaceSource.cpp >@@ -199,6 +199,8 @@ RefPtr<Font> CSSFontFaceSource::font(const FontDescription& fontDescription, boo > > #if ENABLE(SVG_FONTS) > bool usesInDocumentSVGFont = m_hasSVGFontFaceElement; >+#else >+ bool usesInDocumentSVGFont = false; > #endif > > if (!m_font && !usesInDocumentSVGFont) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 197720
: 369436