Fix SKP serialization when SK_DISABLE_EFFECT_SERIALIZATION is defined

We can still serialize things, but we have to rely on the type-name
code-path (because the factory methods don't exist).

Change-Id: I7a054b07168859154c691b9672e760e5b658ae50
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/308260
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
1 file changed