aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkShape.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/SkShape.cpp')
-rw-r--r--src/core/SkShape.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkShape.cpp b/src/core/SkShape.cpp
index fb6e0fb5bd..339601af5f 100644
--- a/src/core/SkShape.cpp
+++ b/src/core/SkShape.cpp
@@ -74,4 +74,4 @@ void SkShape::flatten(SkFlattenableWriteBuffer& buffer) {
void SkShape::onDraw(SkCanvas*) {}
-static SkFlattenable::Registrar gReg("SkShape", SkShape::CreateProc);
+SK_DEFINE_FLATTENABLE_REGISTRAR(SkShape)