summaryrefslogtreecommitdiff
path: root/fpdfsdk/javascript/console.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/javascript/console.cpp')
-rw-r--r--fpdfsdk/javascript/console.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/fpdfsdk/javascript/console.cpp b/fpdfsdk/javascript/console.cpp
index 0a8c1e05b0..538a4ef858 100644
--- a/fpdfsdk/javascript/console.cpp
+++ b/fpdfsdk/javascript/console.cpp
@@ -12,7 +12,7 @@
#include "fpdfsdk/javascript/JS_EventHandler.h"
#include "fpdfsdk/javascript/JS_Object.h"
#include "fpdfsdk/javascript/JS_Value.h"
-#include "fpdfsdk/javascript/cjs_context.h"
+#include "fpdfsdk/javascript/cjs_event_context.h"
BEGIN_JS_STATIC_CONST(CJS_Console)
END_JS_STATIC_CONST()
@@ -33,21 +33,21 @@ console::console(CJS_Object* pJSObject) : CJS_EmbedObj(pJSObject) {}
console::~console() {}
-bool console::clear(IJS_Context* cc,
+bool console::clear(IJS_EventContext* cc,
const std::vector<CJS_Value>& params,
CJS_Value& vRet,
CFX_WideString& sError) {
return true;
}
-bool console::hide(IJS_Context* cc,
+bool console::hide(IJS_EventContext* cc,
const std::vector<CJS_Value>& params,
CJS_Value& vRet,
CFX_WideString& sError) {
return true;
}
-bool console::println(IJS_Context* cc,
+bool console::println(IJS_EventContext* cc,
const std::vector<CJS_Value>& params,
CJS_Value& vRet,
CFX_WideString& sError) {
@@ -57,7 +57,7 @@ bool console::println(IJS_Context* cc,
return true;
}
-bool console::show(IJS_Context* cc,
+bool console::show(IJS_EventContext* cc,
const std::vector<CJS_Value>& params,
CJS_Value& vRet,
CFX_WideString& sError) {