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

Unified Diff: include/core/SkRasterizer.h

Issue 176873004: Builder class for SkLayerRasterizer. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Make ReadLayers private Created 6 years, 10 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 | « gm/texteffects.cpp ('k') | include/effects/SkLayerRasterizer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkRasterizer.h
diff --git a/include/core/SkRasterizer.h b/include/core/SkRasterizer.h
index d916b231b7ac052cb6f884b233a9538b1e21c67e..d6e514c26321ea963c7134bfa15b0b562d45a9e2 100644
--- a/include/core/SkRasterizer.h
+++ b/include/core/SkRasterizer.h
@@ -22,8 +22,6 @@ class SK_API SkRasterizer : public SkFlattenable {
public:
SK_DECLARE_INST_COUNT(SkRasterizer)
- SkRasterizer() {}
-
/** Turn the path into a mask, respecting the specified local->device matrix.
*/
bool rasterize(const SkPath& path, const SkMatrix& matrix,
@@ -33,6 +31,7 @@ public:
SK_DEFINE_FLATTENABLE_TYPE(SkRasterizer)
protected:
+ SkRasterizer() {}
SkRasterizer(SkReadBuffer& buffer) : INHERITED(buffer) {}
virtual bool onRasterize(const SkPath& path, const SkMatrix& matrix,
« no previous file with comments | « gm/texteffects.cpp ('k') | include/effects/SkLayerRasterizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698