[svg] Plumb a ResourceProvider

... for image loading.

Update the SVG tools to pass local/FS resource providers.

Change-Id: I2c0e446047da87f177fde0f23b7ea1f0a856e808
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/359996
Commit-Queue: Florin Malita <fmalita@google.com>
Reviewed-by: Tyler Denniston <tdenniston@google.com>
diff --git a/modules/svg/tests/Text.cpp b/modules/svg/tests/Text.cpp
index 107395b..7308ac8 100644
--- a/modules/svg/tests/Text.cpp
+++ b/modules/svg/tests/Text.cpp
@@ -162,7 +162,8 @@
         const SkSVGPresentationContext pctx;
         SkNoDrawCanvas canvas(0, 0);
         sk_sp<SkFontMgr> fmgr;
-        const SkSVGRenderContext ctx(&canvas, fmgr, mapper, lctx, pctx, nullptr);
+        sk_sp<skresources::ResourceProvider> rp;
+        const SkSVGRenderContext ctx(&canvas, fmgr, rp, mapper, lctx, pctx, nullptr);
 
         SkSVGTextContext tctx(ctx, mock_cb);
         SkSVGTextContext::ScopedPosResolver pa(*a, lctx, &tctx, tst.offseta);