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

Unified Diff: include/core/SkDocument.h

Issue 18461007: Fix two leaks & improve leak tracking (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 5 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/megalooper.cpp ('k') | include/gpu/GrOvalRenderer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkDocument.h
===================================================================
--- include/core/SkDocument.h (revision 9995)
+++ include/core/SkDocument.h (working copy)
@@ -26,6 +26,8 @@
*/
class SkDocument : public SkRefCnt {
public:
+ SK_DECLARE_INST_COUNT(SkDocument)
+
/**
* Create a PDF-backed document, writing the results into a file.
* If there is an error trying to create the doc, returns NULL.
@@ -89,6 +91,8 @@
SkWStream* fStream;
void (*fDoneProc)(SkWStream*);
State fState;
+
+ typedef SkRefCnt INHERITED;
};
#endif
« no previous file with comments | « gm/megalooper.cpp ('k') | include/gpu/GrOvalRenderer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698