Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(554)

Unified Diff: Source/core/dom/TransformSource.h

Issue 14386007: Remove some orphaned USE macros. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Change updated after James' suggestion Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/core/dom/TransformSourceLibxslt.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | Source/core/dom/TransformSourceLibxslt.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698