Index: core/fpdfdoc/cpdf_annotlist.cpp |
diff --git a/core/fpdfdoc/cpdf_annotlist.cpp b/core/fpdfdoc/cpdf_annotlist.cpp |
index 9dc0e9587d1ca2f92b6a3372df4033aed18e3399..153b25fac49db54d3793a4cfe0dba15ba93a35f4 100644 |
--- a/core/fpdfdoc/cpdf_annotlist.cpp |
+++ b/core/fpdfdoc/cpdf_annotlist.cpp |
@@ -84,8 +84,7 @@ void CPDF_AnnotList::DisplayPass(CPDF_Page* pPage, |
continue; |
} |
} |
- CFX_FloatRect annot_rect_f; |
- pAnnot->GetRect(annot_rect_f); |
+ CFX_FloatRect annot_rect_f = pAnnot->GetRect(); |
CFX_Matrix matrix = *pMatrix; |
if (clip_rect) { |
annot_rect_f.Transform(&matrix); |