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

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

Issue 2089443002: Convert XFA_ELEMENT to an enum class (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: More unknown checks 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
« no previous file with comments | « xfa/fxfa/parser/cxfa_data.h ('k') | xfa/fxfa/parser/cxfa_event.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/fxfa/parser/cxfa_data.cpp
diff --git a/xfa/fxfa/parser/cxfa_data.cpp b/xfa/fxfa/parser/cxfa_data.cpp
index cbcb079cadc1aad07b6f33890ab217adc2557da6..1e0db417d620d42b2e0405e5c4cb93ead0102290 100644
--- a/xfa/fxfa/parser/cxfa_data.cpp
+++ b/xfa/fxfa/parser/cxfa_data.cpp
@@ -59,8 +59,8 @@ FX_ARGB CXFA_Data::ToColor(const CFX_WideStringC& wsValue) {
return (0xff << 24) | (r << 16) | (g << 8) | b;
}
-XFA_ELEMENT CXFA_Data::GetClassID() const {
- return m_pNode ? m_pNode->GetClassID() : XFA_ELEMENT_UNKNOWN;
+XFA_Element CXFA_Data::GetClassID() const {
+ return m_pNode ? m_pNode->GetClassID() : XFA_Element::Unknown;
}
FX_BOOL CXFA_Data::TryMeasure(XFA_ATTRIBUTE eAttr,
« no previous file with comments | « xfa/fxfa/parser/cxfa_data.h ('k') | xfa/fxfa/parser/cxfa_event.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698