aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/images/SkImageRef_GlobalPool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/images/SkImageRef_GlobalPool.cpp')
-rw-r--r--src/images/SkImageRef_GlobalPool.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/images/SkImageRef_GlobalPool.cpp b/src/images/SkImageRef_GlobalPool.cpp
index 43c72b1739..6ea42c1195 100644
--- a/src/images/SkImageRef_GlobalPool.cpp
+++ b/src/images/SkImageRef_GlobalPool.cpp
@@ -57,8 +57,7 @@ SkPixelRef* SkImageRef_GlobalPool::Create(SkFlattenableReadBuffer& buffer) {
return SkNEW_ARGS(SkImageRef_GlobalPool, (buffer));
}
-static SkPixelRef::Registrar reg("SkImageRef_GlobalPool",
- SkImageRef_GlobalPool::Create);
+SK_DEFINE_PIXEL_REF_REGISTRAR(SkImageRef_GlobalPool)
///////////////////////////////////////////////////////////////////////////////
// global imagerefpool wrappers