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

Unified Diff: xfa/fxfa/parser/xfa_script_layoutpseudomodel.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_layoutpseudomodel.cpp
diff --git a/xfa/fxfa/parser/xfa_script_layoutpseudomodel.cpp b/xfa/fxfa/parser/xfa_script_layoutpseudomodel.cpp
index e15813217014030424e764544fd78dcc2be31abb..9653d29db5ad28fdaf8fc4b8b49deb8c5c95c1b3 100644
--- a/xfa/fxfa/parser/xfa_script_layoutpseudomodel.cpp
+++ b/xfa/fxfa/parser/xfa_script_layoutpseudomodel.cpp
@@ -26,8 +26,12 @@
CScript_LayoutPseudoModel::CScript_LayoutPseudoModel(CXFA_Document* pDocument)
: CXFA_Object(pDocument,
XFA_ObjectType::Object,
- XFA_Element::LayoutPseudoModel) {}
+ XFA_Element::LayoutPseudoModel,
+ 0x69f115df,
+ CFX_WideStringC(L"layoutPseudoModel")) {}
+
CScript_LayoutPseudoModel::~CScript_LayoutPseudoModel() {}
+
void CScript_LayoutPseudoModel::Script_LayoutPseudoModel_Ready(
CFXJSE_Value* pValue,
FX_BOOL bSetting,

Powered by Google App Engine
This is Rietveld 408576698