Replace calls to v8::Isolate::GetCurrent(), part 1

Bug: pdfium:1737
Change-Id: I6b40dacbee6bb00cfa05c8f75fcc6cac5ef3d08f
Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/86293
Commit-Queue: Daniel Hosseinian <dhoss@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
diff --git a/fxjs/cjs_util.cpp b/fxjs/cjs_util.cpp
index 0a27b57..b938854 100644
--- a/fxjs/cjs_util.cpp
+++ b/fxjs/cjs_util.cpp
@@ -376,7 +376,8 @@
   WideString sDate = pRuntime->ToWideString(params[1]);
   double dDate = FX_GetDateTime();
   if (sDate.GetLength() > 0)
-    dDate = CJS_PublicMethods::ParseDateUsingFormat(sDate, sFormat, nullptr);
+    dDate = CJS_PublicMethods::ParseDateUsingFormat(pRuntime->GetIsolate(),
+                                                    sDate, sFormat, nullptr);
   if (isnan(dDate))
     return CJS_Result::Success(pRuntime->NewUndefined());