diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-12-14 21:04:13 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-12-14 21:04:13 +0000 |
commit | 8eb2722e764fff0a39d0d1dc0c59473aa938b31f (patch) | |
tree | 0141be0ac4398c1c57b5ab2ed1ca0a77b1f11dc2 /xfa/fxfa/parser/cxfa_filldata.h | |
parent | df4f30eaaa469c3703118f89579d506209a49237 (diff) | |
download | pdfium-8eb2722e764fff0a39d0d1dc0c59473aa938b31f.tar.xz |
Add type information to CJX_Object::GetProperty
This CL adds a type template to the CJX_Object::GetProperty method so we
can have the correct types returned.
Change-Id: Ieda8ec4bd31d26a1e71af30f08b48eb826f5993d
Reviewed-on: https://pdfium-review.googlesource.com/21250
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser/cxfa_filldata.h')
-rw-r--r-- | xfa/fxfa/parser/cxfa_filldata.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/xfa/fxfa/parser/cxfa_filldata.h b/xfa/fxfa/parser/cxfa_filldata.h index 8331123404..94e840e230 100644 --- a/xfa/fxfa/parser/cxfa_filldata.h +++ b/xfa/fxfa/parser/cxfa_filldata.h @@ -11,7 +11,11 @@ #include "core/fxge/fx_dib.h" #include "xfa/fxfa/parser/cxfa_datadata.h" +class CXFA_Linear; class CXFA_Node; +class CXFA_Pattern; +class CXFA_Radial; +class CXFA_Stipple; class CXFA_FillData : public CXFA_DataData { public: @@ -38,10 +42,10 @@ class CXFA_FillData : public CXFA_DataData { FX_ARGB GetRadialColor() const; private: - CXFA_Node* GetStipple() const; - CXFA_Node* GetRadial() const; - CXFA_Node* GetLinear() const; - CXFA_Node* GetPattern() const; + CXFA_Stipple* GetStipple() const; + CXFA_Radial* GetRadial() const; + CXFA_Linear* GetLinear() const; + CXFA_Pattern* GetPattern() const; }; #endif // XFA_FXFA_PARSER_CXFA_FILLDATA_H_ |