summaryrefslogtreecommitdiff
path: root/fpdfsdk/src/javascript/console.cpp
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-02-17 13:30:23 -0800
committerTom Sepez <tsepez@chromium.org>2015-02-17 13:30:23 -0800
commitccc948344564f0e2079c3c3a5b1483ab5203fec9 (patch)
treed125f481a7a63a728e8bd2af151f5a633876eaa5 /fpdfsdk/src/javascript/console.cpp
parentca6c0d3262d994fbb008ee1ae5ff19c1612bc982 (diff)
downloadpdfium-ccc948344564f0e2079c3c3a5b1483ab5203fec9.tar.xz
Merge to XFA: Tidy up JS_Defines.h
Original Review URL: https://codereview.chromium.org/927263003 TBR=brucedawson@chromium.org Review URL: https://codereview.chromium.org/936613002
Diffstat (limited to 'fpdfsdk/src/javascript/console.cpp')
-rw-r--r--fpdfsdk/src/javascript/console.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/fpdfsdk/src/javascript/console.cpp b/fpdfsdk/src/javascript/console.cpp
index 350b4e1dcc..d79ac3405d 100644
--- a/fpdfsdk/src/javascript/console.cpp
+++ b/fpdfsdk/src/javascript/console.cpp
@@ -42,7 +42,7 @@ console::~console()
{
}
-FX_BOOL console::clear(OBJ_METHOD_PARAMS)
+FX_BOOL console::clear(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, JS_ErrorString& sError)
{
@@ -50,7 +50,7 @@ FX_BOOL console::clear(OBJ_METHOD_PARAMS)
return TRUE;
}
-FX_BOOL console::hide(OBJ_METHOD_PARAMS)
+FX_BOOL console::hide(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, JS_ErrorString& sError)
{
@@ -59,7 +59,7 @@ FX_BOOL console::hide(OBJ_METHOD_PARAMS)
return TRUE;
}
-FX_BOOL console::println(OBJ_METHOD_PARAMS)
+FX_BOOL console::println(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, JS_ErrorString& sError)
{
if (params.size() < 1)
{
@@ -69,7 +69,7 @@ FX_BOOL console::println(OBJ_METHOD_PARAMS)
return TRUE;
}
-FX_BOOL console::show(OBJ_METHOD_PARAMS)
+FX_BOOL console::show(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, JS_ErrorString& sError)
{
return TRUE;
}