summaryrefslogtreecommitdiff
path: root/core/fpdftext/cpdf_linkextract.h
diff options
context:
space:
mode:
authorHenrique Nakashima <hnakashima@chromium.org>2017-06-08 11:57:57 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-06-08 16:36:21 +0000
commitdefe54dbf60459972ff1c295af332ccdbbe15a70 (patch)
tree1bd4ba74431151d1b6b38d45d696d389e7a220e1 /core/fpdftext/cpdf_linkextract.h
parent7e6f3963e5b5c5032aa54c01729a4fe227e475c8 (diff)
downloadpdfium-defe54dbf60459972ff1c295af332ccdbbe15a70.tar.xz
Fixing click area for links with a URL with prepended text.chromium/3125
Bug: pdfium:655 Change-Id: Idd90be487d390f066a76140800096feead6b9e55 Reviewed-on: https://pdfium-review.googlesource.com/6310 Reviewed-by: dsinclair <dsinclair@chromium.org> Commit-Queue: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'core/fpdftext/cpdf_linkextract.h')
-rw-r--r--core/fpdftext/cpdf_linkextract.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fpdftext/cpdf_linkextract.h b/core/fpdftext/cpdf_linkextract.h
index 564d552548..31004577b9 100644
--- a/core/fpdftext/cpdf_linkextract.h
+++ b/core/fpdftext/cpdf_linkextract.h
@@ -28,8 +28,8 @@ class CPDF_LinkExtract {
protected:
void ParseLink();
- bool CheckWebLink(CFX_WideString& str);
- bool CheckMailLink(CFX_WideString& str);
+ bool CheckWebLink(CFX_WideString* str, int32_t* nStart, int32_t* nCount);
+ bool CheckMailLink(CFX_WideString* str);
private:
struct Link {