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

Unified Diff: src/doc/SkDocument.cpp

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 | « src/core/SkFontHost.cpp ('k') | src/gpu/GrContext.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/doc/SkDocument.cpp
===================================================================
--- src/doc/SkDocument.cpp (revision 9995)
+++ src/doc/SkDocument.cpp (working copy)
@@ -8,6 +8,8 @@
#include "SkDocument.h"
#include "SkStream.h"
+SK_DEFINE_INST_COUNT(SkDocument)
+
SkDocument::SkDocument(SkWStream* stream, void (*doneProc)(SkWStream*)) {
fStream = stream; // we do not own this object.
fDoneProc = doneProc;
« no previous file with comments | « src/core/SkFontHost.cpp ('k') | src/gpu/GrContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698