Title: [196576] trunk/Source/WebCore
- Revision
- 196576
- Author
- [email protected]
- Date
- 2016-02-15 04:28:20 -0800 (Mon, 15 Feb 2016)
Log Message
Fix the !(ENABLE(SVG_FONTS) || ENABLE(SVG_OTF_CONVERTER)) build after r196322
https://bugs.webkit.org/show_bug.cgi?id=154104
Reviewed by Myles C. Maxfield.
* css/CSSFontFaceSource.cpp:
(WebCore::CSSFontFaceSource::CSSFontFaceSource):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (196575 => 196576)
--- trunk/Source/WebCore/ChangeLog 2016-02-15 10:30:36 UTC (rev 196575)
+++ trunk/Source/WebCore/ChangeLog 2016-02-15 12:28:20 UTC (rev 196576)
@@ -1,3 +1,13 @@
+2016-02-15 Csaba Osztrogonác <[email protected]>
+
+ Fix the !(ENABLE(SVG_FONTS) || ENABLE(SVG_OTF_CONVERTER)) build after r196322
+ https://bugs.webkit.org/show_bug.cgi?id=154104
+
+ Reviewed by Myles C. Maxfield.
+
+ * css/CSSFontFaceSource.cpp:
+ (WebCore::CSSFontFaceSource::CSSFontFaceSource):
+
2016-02-14 Antti Koivisto <[email protected]>
Add test for class change style invalidation optimization
Modified: trunk/Source/WebCore/css/CSSFontFaceSource.cpp (196575 => 196576)
--- trunk/Source/WebCore/css/CSSFontFaceSource.cpp 2016-02-15 10:30:36 UTC (rev 196575)
+++ trunk/Source/WebCore/css/CSSFontFaceSource.cpp 2016-02-15 12:28:20 UTC (rev 196576)
@@ -76,8 +76,14 @@
: m_familyNameOrURI(familyNameOrURI)
, m_font(font)
, m_face(owner)
+#if ENABLE(SVG_FONTS) || ENABLE(SVG_OTF_CONVERTER)
, m_svgFontFaceElement(fontFace)
+#endif
{
+#if !(ENABLE(SVG_FONTS) || ENABLE(SVG_OTF_CONVERTER))
+ UNUSED_PARAM(fontFace);
+#endif
+
// This may synchronously call fontLoaded().
if (m_font)
m_font->addClient(this);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes