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

Unified Diff: include/gpu/GrClipData.h

Issue 894693003: Add refcnting to SkClipStack on SkCanvas (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: feedback inc 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
« no previous file with comments | « include/core/SkClipStack.h ('k') | include/gpu/GrContext.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gpu/GrClipData.h
diff --git a/include/gpu/GrClipData.h b/include/gpu/GrClipData.h
index 12a23b334897629877f4b790f002fa0531f1ce64..bb7101d8a6efa6c8e0c02f4fc443f6d4dbe86a6c 100644
--- a/include/gpu/GrClipData.h
+++ b/include/gpu/GrClipData.h
@@ -22,8 +22,8 @@ struct SkIRect;
*/
class GrClipData : SkNoncopyable {
public:
- const SkClipStack* fClipStack;
- SkIPoint fOrigin;
+ SkAutoTUnref<const SkClipStack> fClipStack;
+ SkIPoint fOrigin;
GrClipData()
: fClipStack(NULL) {
« no previous file with comments | « include/core/SkClipStack.h ('k') | include/gpu/GrContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698