From df964dfb34e648e27dce7bef785b204894a7058a Mon Sep 17 00:00:00 2001 From: tsepez Date: Thu, 21 Apr 2016 12:09:41 -0700 Subject: Replace CFX_RectArray with std::vector Use RVO now that we use an array type compatible with it. Review URL: https://codereview.chromium.org/1906903002 --- fpdfsdk/include/fsdk_mgr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fpdfsdk/include') diff --git a/fpdfsdk/include/fsdk_mgr.h b/fpdfsdk/include/fsdk_mgr.h index 3d691c1f2d..0578a16e3d 100644 --- a/fpdfsdk/include/fsdk_mgr.h +++ b/fpdfsdk/include/fsdk_mgr.h @@ -614,7 +614,7 @@ class CPDFSDK_PageView final { int nFlag); bool IsValidAnnot(const CPDF_Annot* p) const; void GetCurrentMatrix(CFX_Matrix& matrix) { matrix = m_curMatrix; } - void UpdateRects(CFX_RectArray& rects); + void UpdateRects(const std::vector& rects); void UpdateView(CPDFSDK_Annot* pAnnot); const std::vector& GetAnnotList() const { return m_fxAnnotArray; -- cgit v1.2.3