diff options
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-09-11 13:02:31 +0000 |
---|---|---|
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-09-11 13:02:31 +0000 |
commit | 7fa18762e0ab64c3473df3aab0c2bfd6fabd8831 (patch) | |
tree | c096e116cdd3c6ce5c273671cd3b0c40943eb355 /src/gpu/GrPath.h | |
parent | eb9b3e164e55b8d15e1c25bfb1332917453cbc3a (diff) |
Extended instance counting to all GrResource-derived classes
http://codereview.appspot.com/6489109/
git-svn-id: http://skia.googlecode.com/svn/trunk@5480 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/GrPath.h')
-rw-r--r-- | src/gpu/GrPath.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gpu/GrPath.h b/src/gpu/GrPath.h index 1404546b73..e8f0d5851f 100644 --- a/src/gpu/GrPath.h +++ b/src/gpu/GrPath.h @@ -14,6 +14,8 @@ class GrPath : public GrResource { public: + SK_DECLARE_INST_COUNT(GrPath); + GrPath(GrGpu* gpu) : INHERITED(gpu) {} const GrRect& getBounds() const { return fBounds; } |