summaryrefslogtreecommitdiff
path: root/xfa
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-08-30 15:37:47 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-08-30 19:47:58 +0000
commit674bbfe24ded465a4d27b268ca84f75976d556da (patch)
treed01575d7d0a7320af6011162f3955b9f9a45c459 /xfa
parentccd5be05f61c85754daf5c8155f4932f6d35a55a (diff)
downloadpdfium-674bbfe24ded465a4d27b268ca84f75976d556da.tar.xz
Split auto restorer from fx_basic
This CL moves CFX_AutoRestorer into its own file, separate from fx_basic.h. Change-Id: I415cb9207416bd4744b8ac8e2d7466852db53f0a Reviewed-on: https://pdfium-review.googlesource.com/12390 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'xfa')
-rw-r--r--xfa/fxfa/fm2js/cxfa_fmparser.cpp1
-rw-r--r--xfa/fxfa/parser/cxfa_scriptcontext.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/xfa/fxfa/fm2js/cxfa_fmparser.cpp b/xfa/fxfa/fm2js/cxfa_fmparser.cpp
index 18c37c5b6a..65517fb79d 100644
--- a/xfa/fxfa/fm2js/cxfa_fmparser.cpp
+++ b/xfa/fxfa/fm2js/cxfa_fmparser.cpp
@@ -10,6 +10,7 @@
#include <utility>
#include <vector>
+#include "core/fxcrt/cfx_autorestorer.h"
#include "third_party/base/ptr_util.h"
namespace {
diff --git a/xfa/fxfa/parser/cxfa_scriptcontext.cpp b/xfa/fxfa/parser/cxfa_scriptcontext.cpp
index 57caa9981b..24b1e3c9fe 100644
--- a/xfa/fxfa/parser/cxfa_scriptcontext.cpp
+++ b/xfa/fxfa/parser/cxfa_scriptcontext.cpp
@@ -8,6 +8,7 @@
#include <utility>
+#include "core/fxcrt/cfx_autorestorer.h"
#include "core/fxcrt/fx_extension.h"
#include "fxjs/cfxjse_arguments.h"
#include "fxjs/cfxjse_class.h"