diff options
Diffstat (limited to 'fxjs/cjs_runtime.cpp')
-rw-r--r-- | fxjs/cjs_runtime.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fxjs/cjs_runtime.cpp b/fxjs/cjs_runtime.cpp index 634c48be74..9329a483f4 100644 --- a/fxjs/cjs_runtime.cpp +++ b/fxjs/cjs_runtime.cpp @@ -162,7 +162,7 @@ void CJS_Runtime::SetFormFillEnvToDocument() { if (pThis.IsEmpty()) return; - CJS_Document* pJSDocument = JSGetObject<CJS_Document>(pThis); + auto pJSDocument = JSGetObject<CJS_Document>(pThis); if (!pJSDocument) return; |