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

Unified Diff: src/core/SkFlattenable.cpp

Issue 574773003: Refactor SkPtrSet Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 3 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 | « include/core/SkFlattenable.h ('k') | src/core/SkPtrRecorder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkFlattenable.cpp
diff --git a/src/core/SkFlattenable.cpp b/src/core/SkFlattenable.cpp
index b0c1697d2b1a6adfd75284b75653d259e42cd2b2..02779b3c3b91b431ba604c70c85835d2c9108097 100644
--- a/src/core/SkFlattenable.cpp
+++ b/src/core/SkFlattenable.cpp
@@ -42,21 +42,6 @@ const char* SkNamedFactorySet::getNextAddedFactoryName() {
}
///////////////////////////////////////////////////////////////////////////////
-
-SkRefCntSet::~SkRefCntSet() {
- // call this now, while our decPtr() is sill in scope
- this->reset();
-}
-
-void SkRefCntSet::incPtr(void* ptr) {
- ((SkRefCnt*)ptr)->ref();
-}
-
-void SkRefCntSet::decPtr(void* ptr) {
- ((SkRefCnt*)ptr)->unref();
-}
-
-///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
« no previous file with comments | « include/core/SkFlattenable.h ('k') | src/core/SkPtrRecorder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698