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.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/fpdfsdk/javascript/console.cpp b/fpdfsdk/javascript/console.cpp
index 1b0d81d824..e9d130820f 100644
--- a/fpdfsdk/javascript/console.cpp
+++ b/fpdfsdk/javascript/console.cpp
@@ -18,10 +18,10 @@ JSConstSpec CJS_Console::ConstSpecs[] = {{0, JSConstSpec::Number, 0, 0}};
JSPropertySpec CJS_Console::PropertySpecs[] = {{0, 0, 0}};
-JSMethodSpec CJS_Console::MethodSpecs[] = {{L"clear", clear_static},
- {L"hide", hide_static},
- {L"println", println_static},
- {L"show", show_static},
+JSMethodSpec CJS_Console::MethodSpecs[] = {{"clear", clear_static},
+ {"hide", hide_static},
+ {"println", println_static},
+ {"show", show_static},
{0, 0}};
IMPLEMENT_JS_CLASS(CJS_Console, console)