halcanary 2016-05-06 08:03:44 -07:00 committed by Commit bot
parent 524484b143
commit 3767cd6cff
2 changed files with 3 additions and 1 deletions

View File

@ -216,7 +216,7 @@ private:
// shared internal factory
static sk_sp<SkData> PrivateNewWithCopy(const void* srcOrNull, size_t length);
static void DummyReleaseProc(const void*, void*) {}
static void DummyReleaseProc(const void*, void*); // {}
typedef SkRefCnt INHERITED;
};

View File

@ -78,6 +78,8 @@ sk_sp<SkData> SkData::PrivateNewWithCopy(const void* srcOrNull, size_t length) {
return sk_sp<SkData>(data);
}
void SkData::DummyReleaseProc(const void*, void*) {}
///////////////////////////////////////////////////////////////////////////////
sk_sp<SkData> SkData::MakeEmpty() {