summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-11-04 14:17:34 -0800
committerTom Sepez <tsepez@chromium.org>2015-11-04 14:17:34 -0800
commit3bfe9afdf145a28210f8a9ed893dffe2df508f9b (patch)
treea6cd72b983137b5419185f8c1ce2911f487503ba
parent42e0ccfcdd5de93f75448a030efa42182b417cb5 (diff)
downloadpdfium-3bfe9afdf145a28210f8a9ed893dffe2df508f9b.tar.xz
XFA: make JS_Define.h match master
Remove parameter names in template specialization. R=thestig@chromium.org Review URL: https://codereview.chromium.org/1416623004 .
-rw-r--r--fpdfsdk/src/javascript/JS_Define.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/fpdfsdk/src/javascript/JS_Define.h b/fpdfsdk/src/javascript/JS_Define.h
index 174e9aeaee..3ebd07518e 100644
--- a/fpdfsdk/src/javascript/JS_Define.h
+++ b/fpdfsdk/src/javascript/JS_Define.h
@@ -435,10 +435,8 @@ void JSSpecialPropDel(const char* class_name,
}
}
-template <FX_BOOL (*F)(IJS_Context* cc,
- const CJS_Parameters& params,
- CJS_Value& vRet,
- CFX_WideString& sError)>
+template <FX_BOOL (
+ *F)(IJS_Context*, const CJS_Parameters&, CJS_Value&, CFX_WideString&)>
void JSGlobalFunc(const char* func_name_string,
const v8::FunctionCallbackInfo<v8::Value>& info) {
CJS_Runtime* pRuntime =