summaryrefslogtreecommitdiff
path: root/xfa/include
diff options
context:
space:
mode:
authorJun Fang <jun_fang@foxitsoftware.com>2015-12-01 12:23:42 +0800
committerJun Fang <jun_fang@foxitsoftware.com>2015-12-01 12:23:42 +0800
commit0e4e36878682e22678bb061e77d73f3a4581985c (patch)
tree0475185ad24bfc66cd02621605c5eab7cad63d4b /xfa/include
parentcd0e00a305479505b9c759e86bc8ebfd4ecdc4f4 (diff)
downloadpdfium-0e4e36878682e22678bb061e77d73f3a4581985c.tar.xz
Fix a crasher due to recursion in CXFA_WidgetAcc::ExecuteScript()
BUG=pdfium:292 R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1486573002 .
Diffstat (limited to 'xfa/include')
-rw-r--r--xfa/include/fxfa/fxfa_widget.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/xfa/include/fxfa/fxfa_widget.h b/xfa/include/fxfa/fxfa_widget.h
index 634a287628..3040dafcbc 100644
--- a/xfa/include/fxfa/fxfa_widget.h
+++ b/xfa/include/fxfa/fxfa_widget.h
@@ -113,5 +113,6 @@ class CXFA_WidgetAcc : public CXFA_WidgetData {
void StartTextLayout(FX_FLOAT& fCalcWidth, FX_FLOAT& fCalcHeight);
CXFA_FFDocView* m_pDocView;
CXFA_WidgetLayoutData* m_pLayoutData;
+ uint32_t m_nRecursionDepth;
};
#endif