register 1D and 2D patheffects, so they work when serialized (and piperized)



git-svn-id: http://skia.googlecode.com/svn/trunk@2085 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/effects/Sk2DPathEffect.cpp b/src/effects/Sk2DPathEffect.cpp
index 37ceabd..b205f70 100644
--- a/src/effects/Sk2DPathEffect.cpp
+++ b/src/effects/Sk2DPathEffect.cpp
@@ -100,5 +100,8 @@
     return SkNEW_ARGS(Sk2DPathEffect, (buffer));
 }
 
+///////////////////////////////////////////////////////////////////////////////
 
+static SkFlattenable::Registrar gReg("Sk2DPathEffect",
+                                     Sk2DPathEffect::CreateProc);