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

Unified Diff: experimental/svg/SkSVGDevice.h

Issue 892973002: [SkSVGDevice] Initial shader/gradient support (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: final tweak Created 5 years, 11 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 | experimental/svg/SkSVGDevice.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: experimental/svg/SkSVGDevice.h
diff --git a/experimental/svg/SkSVGDevice.h b/experimental/svg/SkSVGDevice.h
index d6c48e2c0fcf44e5396ab256828fc304685bb732..0ea9e19bfc13de9083c6c1aeb91f27178ee6dbe0 100644
--- a/experimental/svg/SkSVGDevice.h
+++ b/experimental/svg/SkSVGDevice.h
@@ -62,11 +62,13 @@ private:
SkSVGDevice(const SkISize& size, SkWStream* wstream);
virtual ~SkSVGDevice();
- void addPaint(const SkPaint& paint);
- void addTransform(const SkMatrix& t);
+ class AutoElement;
+ class ResourceBucket;
- SkXMLWriter* fWriter;
- SkBitmap fLegacyBitmap;
+ SkAutoTDelete<SkXMLWriter> fWriter;
+ SkAutoTDelete<AutoElement> fRootElement;
+ SkAutoTDelete<ResourceBucket> fResourceBucket;
+ SkBitmap fLegacyBitmap;
};
#endif // SkSVGDevice_DEFINED
« no previous file with comments | « no previous file | experimental/svg/SkSVGDevice.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698