From b9ec0b31a9324a4927ab897c4f741de836321832 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Thu, 25 Jan 2018 16:34:28 +0000 Subject: Remove draw from creatable widgets The Draw element is one of the two cases where we will determine an actual widget type. This CL removes the FFDraw from the widgets which can be created directly. Change-Id: I74d53b736d73cf0d88c6177b4e1d14e73497bf60 Reviewed-on: https://pdfium-review.googlesource.com/23970 Reviewed-by: Henrique Nakashima Commit-Queue: dsinclair --- xfa/fxfa/cxfa_ffdraw.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'xfa/fxfa/cxfa_ffdraw.h') diff --git a/xfa/fxfa/cxfa_ffdraw.h b/xfa/fxfa/cxfa_ffdraw.h index de9cfcf428..697359766f 100644 --- a/xfa/fxfa/cxfa_ffdraw.h +++ b/xfa/fxfa/cxfa_ffdraw.h @@ -12,8 +12,10 @@ class CXFA_FFDraw : public CXFA_FFWidget { public: - explicit CXFA_FFDraw(CXFA_Node* pNode); ~CXFA_FFDraw() override; + + protected: + explicit CXFA_FFDraw(CXFA_Node* pNode); }; #endif // XFA_FXFA_CXFA_FFDRAW_H_ -- cgit v1.2.3