From cd984752d05a58c0bd6f8ddd740d5cd4bfca20c6 Mon Sep 17 00:00:00 2001 From: Ryan Harrison Date: Thu, 29 Jun 2017 16:01:00 -0400 Subject: Cleaning up SomMethod handling in fm2js MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Removing hand rolled hash table and binrary search. BUG=pdfium:786 Change-Id: Iac18f02c9f560f484b974762474dbb51597d2353 Reviewed-on: https://pdfium-review.googlesource.com/7092 Reviewed-by: Tom Sepez Reviewed-by: Lei Zhang Reviewed-by: Nicolás Peña Commit-Queue: Ryan Harrison --- xfa/fxfa/fm2js/cxfa_fmsimpleexpression.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xfa/fxfa/fm2js/cxfa_fmsimpleexpression.h') diff --git a/xfa/fxfa/fm2js/cxfa_fmsimpleexpression.h b/xfa/fxfa/fm2js/cxfa_fmsimpleexpression.h index 6f014297a7..e47334926d 100644 --- a/xfa/fxfa/fm2js/cxfa_fmsimpleexpression.h +++ b/xfa/fxfa/fm2js/cxfa_fmsimpleexpression.h @@ -239,7 +239,7 @@ class CXFA_FMCallExpression : public CXFA_FMUnaryExpression { ~CXFA_FMCallExpression() override; bool IsBuiltInFunc(CFX_WideTextBuf* funcName); - uint32_t IsMethodWithObjParam(const CFX_WideStringC& methodName); + uint32_t IsMethodWithObjParam(const CFX_WideString& methodName); bool ToJavaScript(CFX_WideTextBuf& javascript) override; private: -- cgit v1.2.3