| Index: fpdfsdk/cpdfsdk_baannothandler.cpp
|
| diff --git a/fpdfsdk/cpdfsdk_baannothandler.cpp b/fpdfsdk/cpdfsdk_baannothandler.cpp
|
| index a9e24fb71ae4dbfa37aa61ae43ed1c7114f49b52..7ed42a7d98ced711be487fd1923eb2933d7d8d17 100644
|
| --- a/fpdfsdk/cpdfsdk_baannothandler.cpp
|
| +++ b/fpdfsdk/cpdfsdk_baannothandler.cpp
|
| @@ -28,6 +28,11 @@ void UpdateAnnotRects(CPDFSDK_PageView* pPageView, CPDFSDK_BAAnnot* pBAAnnot) {
|
| rects.push_back(pBAAnnot->GetRect());
|
| if (CPDF_Annot* pPopupAnnot = pBAAnnot->GetPDFPopupAnnot())
|
| rects.push_back(pPopupAnnot->GetRect());
|
| +
|
| + // Make the rects round up to avoid https://crbug.com/662804
|
| + for (CFX_FloatRect& rect : rects)
|
| + rect.Inflate(1, 1);
|
| +
|
| pPageView->UpdateRects(rects);
|
| }
|
|
|
|
|