Index: fpdfsdk/javascript/global.cpp |
diff --git a/fpdfsdk/javascript/global.cpp b/fpdfsdk/javascript/global.cpp |
index fe974c7af285f026924d5886c5d4ed072b4d9cd6..d843b60105fe8e8e03e14a3f587575e6a5b0e465 100644 |
--- a/fpdfsdk/javascript/global.cpp |
+++ b/fpdfsdk/javascript/global.cpp |
@@ -407,7 +407,7 @@ void JSGlobalAlternate::DestroyGlobalPersisitentVariables() { |
m_mapGlobal.clear(); |
} |
-FX_BOOL JSGlobalAlternate::SetGlobalVariables(const FX_CHAR* propname, |
+FX_BOOL JSGlobalAlternate::SetGlobalVariables(const CFX_ByteString& propname, |
int nType, |
double dData, |
bool bData, |