diff options
author | Mike Reed <reed@google.com> | 2017-03-10 00:21:52 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-03-10 14:13:15 +0000 |
commit | 7ba4d710519787a89142d950d021fd9f6f42d049 (patch) | |
tree | d49a64fda08e4bc44a379c432ca81d0098b74dc0 /src/core/SkClipStack.h | |
parent | d37f22b1e81be69d05e9422c305a0595952695d7 (diff) |
clipstacks can be on the stack or embedded, therefore should not be ref-counted
BUG=skia:
Change-Id: I7e16034d463a1db1baac404f775cf33076cbbf73
Reviewed-on: https://skia-review.googlesource.com/9509
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Mike Reed <reed@google.com>
Diffstat (limited to 'src/core/SkClipStack.h')
-rw-r--r-- | src/core/SkClipStack.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkClipStack.h b/src/core/SkClipStack.h index 215e287645..e889208f47 100644 --- a/src/core/SkClipStack.h +++ b/src/core/SkClipStack.h @@ -29,7 +29,7 @@ class SkCanvasClipVisitor; // (i.e., the fSaveCount in force when it was added). Restores are thus // implemented by removing clips from fDeque that have an fSaveCount larger // then the freshly decremented count. -class SK_API SkClipStack : public SkNVRefCnt<SkClipStack> { +class SkClipStack { public: enum BoundsType { // The bounding box contains all the pixels that can be written to |