diff options
author | Ryan Harrison <rharrison@chromium.org> | 2017-06-30 11:38:03 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-06-30 18:11:25 +0000 |
commit | dfcb8af6f7c67f1bb2e349baada6afd2f54a2340 (patch) | |
tree | 9e7d84a1195ac8d49c605fc827f02f154c588817 /xfa/fxfa/fm2js/cxfa_fm2jscontext.h | |
parent | a173900b19e158130df049dd1c31b7494baefffd (diff) | |
download | pdfium-dfcb8af6f7c67f1bb2e349baada6afd2f54a2340.tar.xz |
Remove hand rolled bsearch from HTMLCode2STR
BUG=pdfium:786
Change-Id: I84f4012b5225f81df604fcc6e0836ac5d19f1414
Reviewed-on: https://pdfium-review.googlesource.com/7153
Reviewed-by: Nicolás Peña <npm@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'xfa/fxfa/fm2js/cxfa_fm2jscontext.h')
-rw-r--r-- | xfa/fxfa/fm2js/cxfa_fm2jscontext.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxfa/fm2js/cxfa_fm2jscontext.h b/xfa/fxfa/fm2js/cxfa_fm2jscontext.h index 63fc0f42bd..a5769a36cc 100644 --- a/xfa/fxfa/fm2js/cxfa_fm2jscontext.h +++ b/xfa/fxfa/fm2js/cxfa_fm2jscontext.h @@ -240,7 +240,7 @@ class CXFA_FM2JSContext : public CFXJSE_HostObject { static void EncodeXML(const CFX_ByteStringC& szXMLString, CFX_ByteTextBuf& szResultBuf); static bool HTMLSTR2Code(const CFX_WideStringC& pData, uint32_t& iCode); - static bool HTMLCode2STR(uint32_t iCode, CFX_WideString& wsHTMLReserve); + static bool HTMLCode2STR(uint32_t iCode, CFX_WideString* wsHTMLReserve); static void Format(CFXJSE_Value* pThis, const CFX_ByteStringC& szFuncName, CFXJSE_Arguments& args); |