summaryrefslogtreecommitdiff
path: root/core/fpdftext/include/cpdf_linkextract.h
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-04-21 12:09:41 -0700
committerCommit bot <commit-bot@chromium.org>2016-04-21 12:09:41 -0700
commitdf964dfb34e648e27dce7bef785b204894a7058a (patch)
tree5b0e31ca677aad571fc1fbd67c0e5e57d21cdc03 /core/fpdftext/include/cpdf_linkextract.h
parentd00a91229690e453cb7f2eed652d81e864b27d2a (diff)
downloadpdfium-df964dfb34e648e27dce7bef785b204894a7058a.tar.xz
Replace CFX_RectArray with std::vector<CFX_FloatRect>
Use RVO now that we use an array type compatible with it. Review URL: https://codereview.chromium.org/1906903002
Diffstat (limited to 'core/fpdftext/include/cpdf_linkextract.h')
-rw-r--r--core/fpdftext/include/cpdf_linkextract.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdftext/include/cpdf_linkextract.h b/core/fpdftext/include/cpdf_linkextract.h
index 4f9537c799..5d471e0f1c 100644
--- a/core/fpdftext/include/cpdf_linkextract.h
+++ b/core/fpdftext/include/cpdf_linkextract.h
@@ -24,7 +24,7 @@ class CPDF_LinkExtract {
void ExtractLinks();
size_t CountLinks() const { return m_LinkArray.size(); }
CFX_WideString GetURL(size_t index) const;
- void GetRects(size_t index, CFX_RectArray* pRects) const;
+ std::vector<CFX_FloatRect> GetRects(size_t index) const;
protected:
void ParseLink();