summaryrefslogtreecommitdiff
path: root/xfa/fxfa/fm2js/cxfa_fm2jscontext.h
diff options
context:
space:
mode:
authorRyan Harrison <rharrison@chromium.org>2017-06-30 14:57:12 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-06-30 19:56:30 +0000
commit573b10a8869b7fe1e17c2d27ddbfc3d6ef93ba43 (patch)
tree07397be6ef483d5f388e126c726f068fbe5fda61 /xfa/fxfa/fm2js/cxfa_fm2jscontext.h
parentf3024c3b1fbbfe442f93da3459ea79e817d5b8fe (diff)
downloadpdfium-573b10a8869b7fe1e17c2d27ddbfc3d6ef93ba43.tar.xz
Remove hand rolled bsearch from HTMLSTR2Code
BUG=pdfium:786 Change-Id: I0779dccb6db0e6ea3933279914153ef7961d9a5b Reviewed-on: https://pdfium-review.googlesource.com/7152 Commit-Queue: Ryan Harrison <rharrison@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'xfa/fxfa/fm2js/cxfa_fm2jscontext.h')
-rw-r--r--xfa/fxfa/fm2js/cxfa_fm2jscontext.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxfa/fm2js/cxfa_fm2jscontext.h b/xfa/fxfa/fm2js/cxfa_fm2jscontext.h
index a5769a36cc..7946c02993 100644
--- a/xfa/fxfa/fm2js/cxfa_fm2jscontext.h
+++ b/xfa/fxfa/fm2js/cxfa_fm2jscontext.h
@@ -239,7 +239,7 @@ class CXFA_FM2JSContext : public CFXJSE_HostObject {
CFX_ByteTextBuf& szResultBuf);
static void EncodeXML(const CFX_ByteStringC& szXMLString,
CFX_ByteTextBuf& szResultBuf);
- static bool HTMLSTR2Code(const CFX_WideStringC& pData, uint32_t& iCode);
+ static bool HTMLSTR2Code(const CFX_WideStringC& pData, uint32_t* iCode);
static bool HTMLCode2STR(uint32_t iCode, CFX_WideString* wsHTMLReserve);
static void Format(CFXJSE_Value* pThis,
const CFX_ByteStringC& szFuncName,