diff options
author | 2013-06-27 18:39:39 +0000 | |
---|---|---|
committer | 2013-06-27 18:39:39 +0000 | |
commit | f48e4755282d3d185f42fd2dd964d4bbd9887ee4 (patch) | |
tree | 5799389db8b1f3b8348e6d96e0d132b62e56ea5e /include | |
parent | db54dd3f5e8e96d36ba4ed1a80bd0e0a32804a4b (diff) |
Remove SK_DEBUG_PATH_REF
R=bungeman@google.com
Author: bsalomon@google.com
Review URL: https://chromiumcodereview.appspot.com/18029006
git-svn-id: http://skia.googlecode.com/svn/trunk@9795 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include')
-rw-r--r-- | include/core/SkPath.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/include/core/SkPath.h b/include/core/SkPath.h index 4e2451b5e0..d4b79cda04 100644 --- a/include/core/SkPath.h +++ b/include/core/SkPath.h @@ -30,10 +30,6 @@ class SkString; class SkPathRef; class SkRRect; -#ifndef SK_DEBUG_PATH_REF - #define SK_DEBUG_PATH_REF 0 -#endif - /** \class SkPath The SkPath class encapsulates compound (multiple contour) geometric paths @@ -945,29 +941,7 @@ private: kSegmentMask_SerializationShift = 0 // requires 4 bits }; -#if SK_DEBUG_PATH_REF -public: - /** Debugging wrapper for SkAutoTUnref<SkPathRef> used to track owners (SkPaths) - of SkPathRefs */ - class PathRefDebugRef { - public: - PathRefDebugRef(SkPathRef* pr, SkPath* owner); - ~PathRefDebugRef(); - void reset(SkPathRef* ref); - void swap(PathRefDebugRef* other); - SkPathRef* get() const; - SkAutoTUnref<SkPathRef>::BlockRefType *operator->() const; - operator SkPathRef*(); - private: - SkAutoTUnref<SkPathRef> fPathRef; - SkPath* fOwner; - }; - -private: - PathRefDebugRef fPathRef; -#else SkAutoTUnref<SkPathRef> fPathRef; -#endif mutable SkRect fBounds; int fLastMoveToIndex; |