Support runtime renderer selection in FPDFProgressiveRenderEmbedderTest

Update a missing runtime renderer check for Skia vs. AGG test code.

Bug: pdfium:1878,pdfium:1903
Change-Id: I40ba46bd2c0b33e61ed356221273744f2104967f
Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/98721
Commit-Queue: Alan Screen <awscreen@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
diff --git a/core/fpdfapi/render/fpdf_progressive_render_embeddertest.cpp b/core/fpdfapi/render/fpdf_progressive_render_embeddertest.cpp
index 6780516..ac95a3d 100644
--- a/core/fpdfapi/render/fpdf_progressive_render_embeddertest.cpp
+++ b/core/fpdfapi/render/fpdf_progressive_render_embeddertest.cpp
@@ -24,16 +24,11 @@
 constexpr FX_ARGB kWhite = 0xFFFFFFFF;
 
 const char* AnnotationStampWithApBaseContentChecksum() {
-#if BUILDFLAG(IS_APPLE) && !defined(_SKIA_SUPPORT_) && \
-    !defined(_SKIA_SUPPORT_PATHS_)
-  static constexpr char kAnnotationStampWithApBaseContentChecksum[] =
-      "243f3d6267d9db09198fed9f8c4957fd";
-#else
-  static constexpr char kAnnotationStampWithApBaseContentChecksum[] =
-      "e31414933c9ff3950773981e5bf61678";
+#if BUILDFLAG(IS_APPLE)
+  if (!CFX_DefaultRenderDevice::SkiaVariantIsDefaultRenderer())
+    return "243f3d6267d9db09198fed9f8c4957fd";
 #endif
-
-  return kAnnotationStampWithApBaseContentChecksum;
+  return "e31414933c9ff3950773981e5bf61678";
 }
 
 }  // namespace