[skottie] Make the resource provider factory argument optional

Most of the existing clients don't care about nested resources.

Change-Id: Ie7991dd25ebbd679b5b49e5624772c7e19e7ec79
Reviewed-on: https://skia-review.googlesource.com/131141
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Florin Malita <fmalita@chromium.org>
diff --git a/modules/skottie/fuzz/FuzzSkottieJSON.cpp b/modules/skottie/fuzz/FuzzSkottieJSON.cpp
index 35135f1..23c77ce 100644
--- a/modules/skottie/fuzz/FuzzSkottieJSON.cpp
+++ b/modules/skottie/fuzz/FuzzSkottieJSON.cpp
@@ -10,16 +10,8 @@
 #include "SkStream.h"
 
 void FuzzSkottieJSON(sk_sp<SkData> bytes) {
-    // Always returns nullptr to any resource
-    class EmptyResourceProvider final : public skottie::ResourceProvider {
-    public:
-        std::unique_ptr<SkStream> openStream(const char resource[]) const override {
-            return nullptr;
-        }
-    };
     SkMemoryStream stream(bytes);
-    EmptyResourceProvider erp;
-    auto animation = skottie::Animation::Make(&stream, erp);
+    auto animation = skottie::Animation::Make(&stream);
     if (!animation) {
         return;
     }