diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-10-26 09:28:59 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-10-26 17:14:48 +0000 |
commit | 3a1ba8efdbfffad723646dd878e6ca511f9f75bd (patch) | |
tree | 3d025f32729479faa9628668cac0654f13e45a37 /fpdfsdk/javascript/color.h | |
parent | 8b6acddd1e25dd48582f954ea9e67861dbd4f50f (diff) | |
download | pdfium-3a1ba8efdbfffad723646dd878e6ca511f9f75bd.tar.xz |
Remove CJS_Array
This CL removes the CJS_Array wrapper and uses the v8 objects directly.
Change-Id: I904f76e59e27d65db4b4d0bbd503fddb3e8cfc6f
Reviewed-on: https://pdfium-review.googlesource.com/16830
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fpdfsdk/javascript/color.h')
-rw-r--r-- | fpdfsdk/javascript/color.h | 6 |
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; |