From 0bc02c152bd0c178a5946196e2054a5cdc7650f4 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Mon, 26 Feb 2018 21:02:52 +0000 Subject: Add some more missing consts. Get things out of the .data section. Change-Id: I375cf00186a3d5d8d10f5d147bd4b692f5db3683 Reviewed-on: https://pdfium-review.googlesource.com/27130 Commit-Queue: Tom Sepez Reviewed-by: dsinclair --- fxjs/xfa/cjx_object.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fxjs/xfa/cjx_object.h') diff --git a/fxjs/xfa/cjx_object.h b/fxjs/xfa/cjx_object.h index 12b58b0af8..88f1d8c814 100644 --- a/fxjs/xfa/cjx_object.h +++ b/fxjs/xfa/cjx_object.h @@ -243,7 +243,7 @@ class CJX_Object { void OnChanging(XFA_Attribute eAttr, bool bNotify); bool SetUserData(void* pKey, void* pData, - XFA_MAPDATABLOCKCALLBACKINFO* pCallbackInfo); + const XFA_MAPDATABLOCKCALLBACKINFO* pCallbackInfo); // Returns a pointer to the XML node that needs to be updated with the new // attribute value. |nullptr| if no update is needed. @@ -261,7 +261,7 @@ class CJX_Object { void SetMapModuleBuffer(void* pKey, void* pValue, int32_t iBytes, - XFA_MAPDATABLOCKCALLBACKINFO* pCallbackInfo); + const XFA_MAPDATABLOCKCALLBACKINFO* pCallbackInfo); bool GetMapModuleBuffer(void* pKey, void*& pValue, int32_t& iBytes, -- cgit v1.2.3