Index: src/svg/SkSVGDevice.h |
diff --git a/experimental/svg/SkSVGDevice.h b/src/svg/SkSVGDevice.h |
similarity index 94% |
rename from experimental/svg/SkSVGDevice.h |
rename to src/svg/SkSVGDevice.h |
index 0ea9e19bfc13de9083c6c1aeb91f27178ee6dbe0..fdfc8c3e0349b1d4cfd9e2147cc93343459cbb2a 100644 |
--- a/experimental/svg/SkSVGDevice.h |
+++ b/src/svg/SkSVGDevice.h |
@@ -10,12 +10,11 @@ |
#include "SkDevice.h" |
-class SkWStream; |
class SkXMLWriter; |
class SkSVGDevice : public SkBaseDevice { |
public: |
- static SkBaseDevice* Create(const SkISize& size, SkWStream* wstream); |
+ static SkBaseDevice* Create(const SkISize& size, SkXMLWriter* writer); |
virtual SkImageInfo imageInfo() const SK_OVERRIDE; |
@@ -59,13 +58,13 @@ protected: |
virtual const SkBitmap& onAccessBitmap() SK_OVERRIDE; |
private: |
- SkSVGDevice(const SkISize& size, SkWStream* wstream); |
+ SkSVGDevice(const SkISize& size, SkXMLWriter* writer); |
virtual ~SkSVGDevice(); |
class AutoElement; |
class ResourceBucket; |
- SkAutoTDelete<SkXMLWriter> fWriter; |
+ SkXMLWriter* fWriter; |
SkAutoTDelete<AutoElement> fRootElement; |
SkAutoTDelete<ResourceBucket> fResourceBucket; |
SkBitmap fLegacyBitmap; |