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

Unified Diff: xfa/fxfa/parser/xfa_script_datawindow.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_datawindow.cpp
diff --git a/xfa/fxfa/parser/xfa_script_datawindow.cpp b/xfa/fxfa/parser/xfa_script_datawindow.cpp
index 9d307a4abe6c7d696e8a181b45d44ee88475a768..68790d52e35ae4446f3c3f9265145f1d70d11826 100644
--- a/xfa/fxfa/parser/xfa_script_datawindow.cpp
+++ b/xfa/fxfa/parser/xfa_script_datawindow.cpp
@@ -16,7 +16,11 @@
#include "xfa/fxfa/parser/xfa_utils.h"
CScript_DataWindow::CScript_DataWindow(CXFA_Document* pDocument)
- : CXFA_Object(pDocument, XFA_ObjectType::Object, XFA_Element::DataWindow) {}
+ : CXFA_Object(pDocument,
+ XFA_ObjectType::Object,
+ XFA_Element::DataWindow,
+ 0x83a550d2,
+ CFX_WideStringC(L"dataWindow")) {}
CScript_DataWindow::~CScript_DataWindow() {}

Powered by Google App Engine
This is Rietveld 408576698