summaryrefslogtreecommitdiff
path: root/xfa/fxfa/fm2js/cxfa_fmsimpleexpression.h
diff options
context:
space:
mode:
authorRyan Harrison <rharrison@chromium.org>2017-06-29 16:01:00 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-06-29 21:08:18 +0000
commitcd984752d05a58c0bd6f8ddd740d5cd4bfca20c6 (patch)
treecd5c1a6c66e1c370b3e250bb54dbf2a56a67f7b4 /xfa/fxfa/fm2js/cxfa_fmsimpleexpression.h
parentb21f174ad87e46c823c2ef8c11682167e2d12864 (diff)
downloadpdfium-cd984752d05a58c0bd6f8ddd740d5cd4bfca20c6.tar.xz
Cleaning up SomMethod handling in fm2js
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 <tsepez@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org> Reviewed-by: Nicolás Peña <npm@chromium.org> Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'xfa/fxfa/fm2js/cxfa_fmsimpleexpression.h')
-rw-r--r--xfa/fxfa/fm2js/cxfa_fmsimpleexpression.h2
1 files changed, 1 insertions, 1 deletions
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: