summaryrefslogtreecommitdiff
path: root/Source/WebCore/dom/TransformSource.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/dom/TransformSource.h')
-rw-r--r--Source/WebCore/dom/TransformSource.h28
1 files changed, 13 insertions, 15 deletions
diff --git a/Source/WebCore/dom/TransformSource.h b/Source/WebCore/dom/TransformSource.h
index 78db44e14..a2399a3ad 100644
--- a/Source/WebCore/dom/TransformSource.h
+++ b/Source/WebCore/dom/TransformSource.h
@@ -17,11 +17,11 @@
* Boston, MA 02110-1301, USA.
*/
-#ifndef TransformSource_h
-#define TransformSource_h
+#pragma once
#if ENABLE(XSLT)
+#include <libxml/tree.h>
#include <wtf/FastMalloc.h>
#include <wtf/Forward.h>
#include <wtf/Noncopyable.h>
@@ -29,22 +29,20 @@
namespace WebCore {
- typedef void* PlatformTransformSource;
+typedef xmlDocPtr PlatformTransformSource;
- class TransformSource {
- WTF_MAKE_NONCOPYABLE(TransformSource); WTF_MAKE_FAST_ALLOCATED;
- public:
- explicit TransformSource(const PlatformTransformSource&);
- ~TransformSource();
+class TransformSource {
+ WTF_MAKE_NONCOPYABLE(TransformSource); WTF_MAKE_FAST_ALLOCATED;
+public:
+ explicit TransformSource(const PlatformTransformSource&);
+ ~TransformSource();
- PlatformTransformSource platformSource() const { return m_source; }
+ PlatformTransformSource platformSource() const { return m_source; }
- private:
- PlatformTransformSource m_source;
- };
+private:
+ PlatformTransformSource m_source;
+};
} // namespace WebCore
-#endif
-
-#endif // TransformSource_h
+#endif // ENABLE(XSLT)