summaryrefslogtreecommitdiff
path: root/fpdfsdk/javascript/color.h
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/javascript/color.h')
-rw-r--r--fpdfsdk/javascript/color.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/fpdfsdk/javascript/color.h b/fpdfsdk/javascript/color.h
index 454de57e72..cbb759cd0e 100644
--- a/fpdfsdk/javascript/color.h
+++ b/fpdfsdk/javascript/color.h
@@ -14,10 +14,10 @@
class color : public CJS_EmbedObj {
public:
- static CJS_Array ConvertPWLColorToArray(CJS_Runtime* pRuntime,
- const CFX_Color& color);
+ static v8::Local<v8::Array> ConvertPWLColorToArray(CJS_Runtime* pRuntime,
+ const CFX_Color& color);
static CFX_Color ConvertArrayToPWLColor(CJS_Runtime* pRuntime,
- const CJS_Array& array);
+ v8::Local<v8::Array> array);
explicit color(CJS_Object* pJSObject);
~color() override;