summaryrefslogtreecommitdiff
path: root/Source/WebCore/rendering/svg/SVGTextLayoutAttributes.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/rendering/svg/SVGTextLayoutAttributes.h')
-rw-r--r--Source/WebCore/rendering/svg/SVGTextLayoutAttributes.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/WebCore/rendering/svg/SVGTextLayoutAttributes.h b/Source/WebCore/rendering/svg/SVGTextLayoutAttributes.h
index 305db1eaf..00d138e53 100644
--- a/Source/WebCore/rendering/svg/SVGTextLayoutAttributes.h
+++ b/Source/WebCore/rendering/svg/SVGTextLayoutAttributes.h
@@ -20,6 +20,7 @@
#ifndef SVGTextLayoutAttributes_h
#define SVGTextLayoutAttributes_h
+#if ENABLE(SVG)
#include "SVGTextMetrics.h"
#include <wtf/HashMap.h>
#include <wtf/Noncopyable.h>
@@ -75,4 +76,5 @@ inline SVGCharacterData::SVGCharacterData()
} // namespace WebCore
+#endif // ENABLE(SVG)
#endif