diff options
Diffstat (limited to 'samplecode/TransitionView.cpp')
-rw-r--r-- | samplecode/TransitionView.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/samplecode/TransitionView.cpp b/samplecode/TransitionView.cpp index e4fa38e974..d18585414c 100644 --- a/samplecode/TransitionView.cpp +++ b/samplecode/TransitionView.cpp @@ -86,7 +86,7 @@ protected: //attach the new fPrev and call unref to balance the ref in onDraw this->attachChildToBack(fPrev)->unref(); this->inval(NULL); - + SkASSERT(1 == prev->getRefCnt()); prev->unref(); return true; |