aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar halcanary <halcanary@google.com>2016-05-06 08:03:44 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-05-06 08:03:44 -0700
commit3767cd6cff119a8290fb0a6afc90ce7f81cef555 (patch)
treee6ab7291f66b19d64ce50902b153556e29181129
parent524484b143e472b3b6bdc8fd7812635f509071a9 (diff)
-rw-r--r--include/core/SkData.h2
-rw-r--r--src/core/SkData.cpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/include/core/SkData.h b/include/core/SkData.h
index 628029f82b..3457fcbfea 100644
--- a/include/core/SkData.h
+++ b/include/core/SkData.h
@@ -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;
};
diff --git a/src/core/SkData.cpp b/src/core/SkData.cpp
index ea2da3dae4..ec619d99e5 100644
--- a/src/core/SkData.cpp
+++ b/src/core/SkData.cpp
@@ -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() {