| Index: chrome/browser/ui/views/location_bar/open_pdf_in_reader_view.cc
|
| diff --git a/chrome/browser/ui/views/location_bar/open_pdf_in_reader_view.cc b/chrome/browser/ui/views/location_bar/open_pdf_in_reader_view.cc
|
| index e627b243f5ba91d0499bbc707b9bd64f50d3140c..41959c63c4d66ce1782e5708c4c53061fa68d7a8 100644
|
| --- a/chrome/browser/ui/views/location_bar/open_pdf_in_reader_view.cc
|
| +++ b/chrome/browser/ui/views/location_bar/open_pdf_in_reader_view.cc
|
| @@ -57,7 +57,8 @@ bool OpenPDFInReaderView::OnMousePressed(const ui::MouseEvent& event) {
|
| }
|
|
|
| void OpenPDFInReaderView::OnMouseReleased(const ui::MouseEvent& event) {
|
| - if (event.IsOnlyLeftMouseButton() && HitTestPoint(event.location()))
|
| + if (event.IsOnlyLeftMouseButton() &&
|
| + HitTestPoint(gfx::ToFlooredPoint(event.location())))
|
| ShowBubble();
|
| }
|
|
|
|
|