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

Unified Diff: include/core/SkPicture.h

Issue 1145153002: Have SkPicture inherit from SkRefCnt. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 7 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkPicture.h
diff --git a/include/core/SkPicture.h b/include/core/SkPicture.h
index 995db4c941077dda203639a59a618ac1357a6bc1..edbe7489aba5926483a6a45b6c9602ea2f169637 100644
--- a/include/core/SkPicture.h
+++ b/include/core/SkPicture.h
@@ -28,10 +28,7 @@ struct SkPictInfo;
An SkPicture records drawing commands made to a canvas to be played back at a later time.
This base class handles serialization and a few other miscellany.
*/
-// TODO(mtklein): logically this could be : public SkRefCnt, but that exposes
-// some ref-count adoption bugs in Blink. Keeping this using SkNVRefCnt
-// happens to stifle them for now. skia:3847
-class SK_API SkPicture : public SkNVRefCnt<SkPicture> {
+class SK_API SkPicture : public SkRefCnt {
public:
virtual ~SkPicture();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698