make options robust

Options used to rely on an external call to SanitizeOptions to
ensure they were correct. Now that defaults are set directly,
make sure that the values coming in make sense.

Change-Id: If6cfc027722b6a7717a920b482ec5be8f7526367
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/296040
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Herb Derby <herb@google.com>
diff --git a/src/gpu/GrRenderTargetContext.cpp b/src/gpu/GrRenderTargetContext.cpp
index d9727ad..f208b67 100644
--- a/src/gpu/GrRenderTargetContext.cpp
+++ b/src/gpu/GrRenderTargetContext.cpp
@@ -485,12 +485,7 @@
         return;
     }
 
-    GrTextContext::Options options = {
-            fContext->priv().options().fMinDistanceFieldFontSize,
-            fContext->priv().options().fGlyphsAsPathsFontSize
-    };
-    GrTextContext::SanitizeOptions(&options);
-
+    GrTextContext::Options options = fContext->priv().SDFTOptions();
     GrTextBlobCache* textBlobCache = fContext->priv().getTextBlobCache();
 
     // Get the first paint to use as the key paint.