summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/xfa_script_eventpseudomodel.cpp
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-06-23 07:52:01 -0700
committerCommit bot <commit-bot@chromium.org>2016-06-23 07:52:01 -0700
commit937a11304dbf7abd97b76da8154e2b3bf5141aeb (patch)
tree931234ed6d3d1ec96972c92c720f7600b80a708f /xfa/fxfa/parser/xfa_script_eventpseudomodel.cpp
parent070fcdfeafb17a9d3ada1418f48fd7f19aa4cf83 (diff)
downloadpdfium-937a11304dbf7abd97b76da8154e2b3bf5141aeb.tar.xz
Remove CXFA_OrdinaryObject class
The CXFA_OrdinaryObject class no longer has any functionality but is just wraps CXFA_Object and sets the object type for the sub classes. This Cl removes the class and has the subclass set the object type themselves. This CL also renames the OrdinaryObject type to just Object. Review-Url: https://codereview.chromium.org/2082343003
Diffstat (limited to 'xfa/fxfa/parser/xfa_script_eventpseudomodel.cpp')
-rw-r--r--xfa/fxfa/parser/xfa_script_eventpseudomodel.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/xfa/fxfa/parser/xfa_script_eventpseudomodel.cpp b/xfa/fxfa/parser/xfa_script_eventpseudomodel.cpp
index b9407d0f86..f6612d1563 100644
--- a/xfa/fxfa/parser/xfa_script_eventpseudomodel.cpp
+++ b/xfa/fxfa/parser/xfa_script_eventpseudomodel.cpp
@@ -21,8 +21,9 @@
#include "xfa/fxfa/parser/xfa_utils.h"
CScript_EventPseudoModel::CScript_EventPseudoModel(CXFA_Document* pDocument)
- : CXFA_OrdinaryObject(pDocument, XFA_Element::EventPseudoModel) {
-}
+ : CXFA_Object(pDocument,
+ XFA_ObjectType::Object,
+ XFA_Element::EventPseudoModel) {}
CScript_EventPseudoModel::~CScript_EventPseudoModel() {}
void Script_EventPseudoModel_StringProperty(CFXJSE_Value* pValue,
CFX_WideString& wsValue,