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

Unified Diff: xfa/fxfa/parser/xfa_object.h

Issue 1899103002: XFA unused function cleanup (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 8 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_object.h
diff --git a/xfa/fxfa/parser/xfa_object.h b/xfa/fxfa/parser/xfa_object.h
index e796b96326ef8cb2253ed0245e25f906f7fc4fb7..0779cbf2b32e2e329105460113e681bc48ad52c0 100644
--- a/xfa/fxfa/parser/xfa_object.h
+++ b/xfa/fxfa/parser/xfa_object.h
@@ -783,21 +783,9 @@ inline const CXFA_NodeList* CXFA_Object::AsNodeList() const {
inline CXFA_Node* ToNode(CXFA_Object* pObj) {
return pObj ? pObj->AsNode() : nullptr;
}
-inline CXFA_OrdinaryObject* ToOrdinaryObject(CXFA_Object* pObj) {
- return pObj ? pObj->AsOrdinaryObject() : nullptr;
-}
-inline CXFA_NodeList* ToNodeList(CXFA_Object* pObj) {
- return pObj ? pObj->AsNodeList() : nullptr;
-}
inline const CXFA_Node* ToNode(const CXFA_Object* pObj) {
return pObj ? pObj->AsNode() : nullptr;
}
-inline const CXFA_OrdinaryObject* ToOrdinaryObject(const CXFA_Object* pObj) {
- return pObj ? pObj->AsOrdinaryObject() : nullptr;
-}
-inline const CXFA_NodeList* ToNodeList(const CXFA_Object* pObj) {
- return pObj ? pObj->AsNodeList() : nullptr;
-}
#endif // XFA_FXFA_PARSER_XFA_OBJECT_H_

Powered by Google App Engine
This is Rietveld 408576698