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/SkClipStack.h

Issue 894693003: Add refcnting to SkClipStack on SkCanvas (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: more cleanup Created 5 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
Index: include/core/SkClipStack.h
diff --git a/include/core/SkClipStack.h b/include/core/SkClipStack.h
index 79789dcc268d80ad3c3b62bdd436063d5d2e45a0..8ef58335935eb89b1d63fa3e7e06e2fa4be6efc0 100644
--- a/include/core/SkClipStack.h
+++ b/include/core/SkClipStack.h
@@ -24,7 +24,7 @@ class SkCanvasClipVisitor;
// (i.e., the fSaveCount in force when it was added). Restores are thus
// implemented by removing clips from fDeque that have an fSaveCount larger
// then the freshly decremented count.
-class SK_API SkClipStack {
+class SK_API SkClipStack : public SkRefCnt {
mtklein 2015/02/04 19:47:49 If this sticks, SkNVRefCnt<SkClipStack> is a littl
bsalomon 2015/02/05 15:51:32 let's do it!
public:
enum BoundsType {
// The bounding box contains all the pixels that can be written to
« include/core/SkCanvas.h ('K') | « include/core/SkCanvas.h ('k') | include/gpu/GrClipData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698