Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(305)

Unified Diff: xfa/fxfa/parser/xfa_script_hostpseudomodel.cpp

Issue 2101403002: Pass element hash and name into CXFA_Object constructor. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@classname_return
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: xfa/fxfa/parser/xfa_script_hostpseudomodel.cpp
diff --git a/xfa/fxfa/parser/xfa_script_hostpseudomodel.cpp b/xfa/fxfa/parser/xfa_script_hostpseudomodel.cpp
index 84d5fc9223a019f219a2969fe6ba876cbe597cf4..0316f8eed566e51aab7264a58580dfa69efc3f8f 100644
--- a/xfa/fxfa/parser/xfa_script_hostpseudomodel.cpp
+++ b/xfa/fxfa/parser/xfa_script_hostpseudomodel.cpp
@@ -30,8 +30,12 @@ CXFA_Node* ToNode(CFXJSE_Value* pValue, CFXJSE_Class* pClass) {
CScript_HostPseudoModel::CScript_HostPseudoModel(CXFA_Document* pDocument)
: CXFA_Object(pDocument,
XFA_ObjectType::Object,
- XFA_Element::HostPseudoModel) {}
+ XFA_Element::HostPseudoModel,
+ 0x5700bd5f,
+ CFX_WideStringC(L"hostPseudoModel")) {}
+
CScript_HostPseudoModel::~CScript_HostPseudoModel() {}
+
void CScript_HostPseudoModel::Script_HostPseudoModel_LoadString(
CFXJSE_Value* pValue,
CXFA_FFNotify* pNotify,

Powered by Google App Engine
This is Rietveld 408576698