summaryrefslogtreecommitdiff
path: root/fpdfsdk/javascript
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/javascript')
-rw-r--r--fpdfsdk/javascript/cjs_event_context.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/fpdfsdk/javascript/cjs_event_context.cpp b/fpdfsdk/javascript/cjs_event_context.cpp
index b820bc309b..bf6b337a70 100644
--- a/fpdfsdk/javascript/cjs_event_context.cpp
+++ b/fpdfsdk/javascript/cjs_event_context.cpp
@@ -6,7 +6,7 @@
#include "fpdfsdk/javascript/cjs_event_context.h"
-#include "core/fxcrt/cfx_autorestorer.h"
+#include "core/fxcrt/autorestorer.h"
#include "fpdfsdk/javascript/JS_EventHandler.h"
#include "fpdfsdk/javascript/cjs_runtime.h"
#include "fpdfsdk/javascript/resource.h"
@@ -35,7 +35,7 @@ bool CJS_EventContext::RunScript(const WideString& script, WideString* info) {
return false;
}
- CFX_AutoRestorer<bool> restorer(&m_bBusy);
+ AutoRestorer<bool> restorer(&m_bBusy);
m_bBusy = true;
ASSERT(m_pEventHandler->IsValid());