Index: fpdfsdk/javascript/color.h |
diff --git a/fpdfsdk/javascript/color.h b/fpdfsdk/javascript/color.h |
index 2beddb58fc79e9fd704b32042b595e3065f738ec..5c8c99feb67666112a6a1710c0e24393ecd53907 100644 |
--- a/fpdfsdk/javascript/color.h |
+++ b/fpdfsdk/javascript/color.h |
@@ -41,9 +41,12 @@ class color : public CJS_EmbedObj { |
CJS_Value& vRet, |
CFX_WideString& sError); |
- public: |
- static void ConvertPWLColorToArray(const CPWL_Color& color, CJS_Array& array); |
- static void ConvertArrayToPWLColor(CJS_Array& array, CPWL_Color& color); |
+ static void ConvertPWLColorToArray(CJS_Runtime* pRuntime, |
+ const CPWL_Color& color, |
+ CJS_Array* array); |
+ static void ConvertArrayToPWLColor(CJS_Runtime* pRuntime, |
+ const CJS_Array& array, |
+ CPWL_Color* color); |
private: |
CPWL_Color m_crTransparent; |