Title: [164485] trunk/Source/WebCore
Revision
164485
Author
commit-qu...@webkit.org
Date
2014-02-21 08:51:20 -0800 (Fri, 21 Feb 2014)

Log Message

Fixing the !ENABLE(SVG_FONTS) build
https://bugs.webkit.org/show_bug.cgi?id=129150

Patch by Martin Hodovan <mhodo...@inf.u-szeged.hu> on 2014-02-21
Reviewed by Anders Carlsson.

No new tests required.

* svg/SVGAltGlyphElement.cpp:
* svg/SVGAltGlyphElement.h:
* svg/svgtags.in:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (164484 => 164485)


--- trunk/Source/WebCore/ChangeLog	2014-02-21 16:45:05 UTC (rev 164484)
+++ trunk/Source/WebCore/ChangeLog	2014-02-21 16:51:20 UTC (rev 164485)
@@ -1,3 +1,16 @@
+2014-02-21  Martin Hodovan  <mhodo...@inf.u-szeged.hu>
+
+        Fixing the !ENABLE(SVG_FONTS) build
+        https://bugs.webkit.org/show_bug.cgi?id=129150
+
+        Reviewed by Anders Carlsson.
+
+        No new tests required.
+
+        * svg/SVGAltGlyphElement.cpp:
+        * svg/SVGAltGlyphElement.h:
+        * svg/svgtags.in:
+
 2014-02-21  Radu Stavila  <stav...@adobe.com>
 
         [CSS Regions] Use the named-flow-specific object RenderNamedFlowFragment instead of the generic RenderRegion whenever possible

Modified: trunk/Source/WebCore/svg/SVGAltGlyphElement.cpp (164484 => 164485)


--- trunk/Source/WebCore/svg/SVGAltGlyphElement.cpp	2014-02-21 16:45:05 UTC (rev 164484)
+++ trunk/Source/WebCore/svg/SVGAltGlyphElement.cpp	2014-02-21 16:51:20 UTC (rev 164485)
@@ -23,6 +23,8 @@
 #include "config.h"
 #include "SVGAltGlyphElement.h"
 
+#if ENABLE(SVG_FONTS)
+
 #include "ExceptionCode.h"
 #include "RenderInline.h"
 #include "RenderSVGTSpan.h"
@@ -105,3 +107,5 @@
 }
 
 }
+
+#endif

Modified: trunk/Source/WebCore/svg/SVGAltGlyphElement.h (164484 => 164485)


--- trunk/Source/WebCore/svg/SVGAltGlyphElement.h	2014-02-21 16:45:05 UTC (rev 164484)
+++ trunk/Source/WebCore/svg/SVGAltGlyphElement.h	2014-02-21 16:51:20 UTC (rev 164485)
@@ -22,6 +22,8 @@
 #ifndef SVGAltGlyphElement_h
 #define SVGAltGlyphElement_h
 
+#if ENABLE(SVG_FONTS)
+
 #include "SVGTextPositioningElement.h"
 #include "SVGURIReference.h"
 #include <wtf/Vector.h>
@@ -58,3 +60,4 @@
 } // namespace WebCore
 
 #endif
+#endif

Modified: trunk/Source/WebCore/svg/svgtags.in (164484 => 164485)


--- trunk/Source/WebCore/svg/svgtags.in	2014-02-21 16:45:05 UTC (rev 164484)
+++ trunk/Source/WebCore/svg/svgtags.in	2014-02-21 16:51:20 UTC (rev 164485)
@@ -4,9 +4,11 @@
 fallbackJSInterfaceName="SVGElement"
 
 a
+#if ENABLE_SVG_FONTS
 altGlyph generateTypeHelpers
 altGlyphDef generateTypeHelpers
 altGlyphItem generateTypeHelpers
+#endif
 animate
 animateColor
 animateMotion generateTypeHelpers
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to