diff options
author | Tom Sepez <tsepez@chromium.org> | 2017-02-21 11:43:14 -0800 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-02-21 20:28:47 +0000 |
commit | 37a35df8c878d6e21a62ce0dfd2d480997d9e86c (patch) | |
tree | 1d8102d3346ec0a599628f5825df47730379f4af /fpdfsdk/javascript/color.h | |
parent | b97f8d578f6a11962f36d522bd1dbf33064e7461 (diff) | |
download | pdfium-37a35df8c878d6e21a62ce0dfd2d480997d9e86c.tar.xz |
Replace JS_IMPLEMENT_COLORPROP with helper function.
Change-Id: Ifd2aa2de9a7a57bc2aa4aa49e5400467621a7851
Reviewed-on: https://pdfium-review.googlesource.com/2794
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fpdfsdk/javascript/color.h')
-rw-r--r-- | fpdfsdk/javascript/color.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fpdfsdk/javascript/color.h b/fpdfsdk/javascript/color.h index f966ca76d1..8d6187a178 100644 --- a/fpdfsdk/javascript/color.h +++ b/fpdfsdk/javascript/color.h @@ -51,6 +51,10 @@ class color : public CJS_EmbedObj { CPWL_Color* color); private: + bool PropertyHelper(CJS_Runtime* pRuntime, + CJS_PropValue& vp, + CPWL_Color* val); + CPWL_Color m_crTransparent; CPWL_Color m_crBlack; CPWL_Color m_crWhite; |