summaryrefslogtreecommitdiff
path: root/xfa/src
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-05-04 15:18:56 -0700
committerTom Sepez <tsepez@chromium.org>2015-05-04 15:18:56 -0700
commit090d139b66d11b8f9a33b930277aea8becb7f085 (patch)
treec2131c552aabdc339c4962d37ad83dbacc004950 /xfa/src
parent72d07de1933bae3569be19a31be3f75aa7265930 (diff)
downloadpdfium-090d139b66d11b8f9a33b930277aea8becb7f085.tar.xz
Merge to XFA: Kill FX_DEFINEHANDLE
Original Review URL: https://codereview.chromium.org/1129433002 R=thestig@chromium.org Review URL: https://codereview.chromium.org/1122903002
Diffstat (limited to 'xfa/src')
-rw-r--r--xfa/src/fxfa/src/common/xfa_fm2jsapi.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/xfa/src/fxfa/src/common/xfa_fm2jsapi.h b/xfa/src/fxfa/src/common/xfa_fm2jsapi.h
index 499ceca4e3..cdb4fe94f6 100644
--- a/xfa/src/fxfa/src/common/xfa_fm2jsapi.h
+++ b/xfa/src/fxfa/src/common/xfa_fm2jsapi.h
@@ -11,7 +11,9 @@
extern "C"
{
#endif
-FX_DEFINEHANDLE(XFA_HFM2JSCONTEXT)
+typedef struct XFA_HFM2JSCONTEXT_ {
+ FX_LPVOID* pData;
+}* XFA_HFM2JSCONTEXT;
FX_INT32 XFA_FM2JS_Translate(FX_WSTR wsFormcalc, CFX_WideTextBuf& wsJavascript, CFX_WideString& wsError);
XFA_HFM2JSCONTEXT XFA_FM2JS_ContextCreate();
void XFA_FM2JS_ContextInitialize(XFA_HFM2JSCONTEXT hFM2JSContext, FXJSE_HRUNTIME hScriptRuntime,