Index: Source/core/dom/TransformSource.h |
diff --git a/Source/core/dom/TransformSource.h b/Source/core/dom/TransformSource.h |
index b9ff00f15ab61827da7828a3012882ed4750e7db..002e9123255d496e959124970e26371250bb5028 100644 |
--- a/Source/core/dom/TransformSource.h |
+++ b/Source/core/dom/TransformSource.h |
@@ -20,6 +20,7 @@ |
#ifndef TransformSource_h |
#define TransformSource_h |
+#include <libxml/tree.h> |
#include <wtf/FastAllocBase.h> |
#include <wtf/Forward.h> |
#include <wtf/Noncopyable.h> |
@@ -27,22 +28,16 @@ |
namespace WebCore { |
-#if USE(QXMLQUERY) |
- typedef String PlatformTransformSource; |
-#else |
- typedef void* PlatformTransformSource; |
-#endif |
- |
class TransformSource { |
WTF_MAKE_NONCOPYABLE(TransformSource); WTF_MAKE_FAST_ALLOCATED; |
public: |
- explicit TransformSource(const PlatformTransformSource&); |
+ explicit TransformSource(xmlDocPtr source); |
~TransformSource(); |
- PlatformTransformSource platformSource() const { return m_source; } |
+ xmlDocPtr platformSource() const { return m_source; } |
private: |
- PlatformTransformSource m_source; |
+ xmlDocPtr m_source; |
}; |
} // namespace WebCore |