From 9daec60824d085db8c2f841fd389c725df1f8b0b Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Thu, 30 Nov 2017 21:26:51 +0000 Subject: Cleanup XFA packet code Remove GetPacketByID, move GetPacketByName to the xfa_utils file. Cleanup CreateNode to accept the XFA_XDPPACKET instead of the packet info. Change-Id: I0f246c84f61b6b4175ca307bdcd125d9bc24bb1e Reviewed-on: https://pdfium-review.googlesource.com/20010 Reviewed-by: Henrique Nakashima Reviewed-by: Lei Zhang Commit-Queue: dsinclair --- xfa/fxfa/parser/xfa_utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xfa/fxfa/parser/xfa_utils.h') diff --git a/xfa/fxfa/parser/xfa_utils.h b/xfa/fxfa/parser/xfa_utils.h index 889dcc0f0a..5cd265e2b3 100644 --- a/xfa/fxfa/parser/xfa_utils.h +++ b/xfa/fxfa/parser/xfa_utils.h @@ -43,6 +43,6 @@ const XFA_SCRIPTATTRIBUTEINFO* XFA_GetScriptAttributeByName( const WideStringView& wsAttributeName); const XFA_PACKETINFO* XFA_GetPacketByIndex(XFA_PacketType ePacket); -const XFA_PACKETINFO* XFA_GetPacketByID(uint32_t dwPacket); +const XFA_PACKETINFO* XFA_GetPacketByName(const WideStringView& wsName); #endif // XFA_FXFA_PARSER_XFA_UTILS_H_ -- cgit v1.2.3