| Index: chrome/browser/ui/views/location_bar/location_bar_view.cc
|
| diff --git a/chrome/browser/ui/views/location_bar/location_bar_view.cc b/chrome/browser/ui/views/location_bar/location_bar_view.cc
|
| index 7cf47bd8cc3877ddfd4cb288e1cd32a40c78b4cb..60ad8493eeac4184add193ebae1074ca13d50450 100644
|
| --- a/chrome/browser/ui/views/location_bar/location_bar_view.cc
|
| +++ b/chrome/browser/ui/views/location_bar/location_bar_view.cc
|
| @@ -1501,7 +1501,7 @@ void LocationBarView::ButtonPressed(views::Button* sender,
|
| // LocationBarView, private views::DragController implementation:
|
|
|
| void LocationBarView::WriteDragDataForView(views::View* sender,
|
| - const gfx::Point& press_pt,
|
| + const gfx::PointF& press_pt,
|
| OSExchangeData* data) {
|
| DCHECK_NE(GetDragOperationsForView(sender, press_pt),
|
| ui::DragDropTypes::DRAG_NONE);
|
| @@ -1518,7 +1518,7 @@ void LocationBarView::WriteDragDataForView(views::View* sender,
|
| }
|
|
|
| int LocationBarView::GetDragOperationsForView(views::View* sender,
|
| - const gfx::Point& p) {
|
| + const gfx::PointF& p) {
|
| DCHECK((sender == location_icon_view_) || (sender == ev_bubble_view_) ||
|
| (sender == origin_chip_view_));
|
| WebContents* web_contents = delegate_->GetWebContents();
|
| @@ -1530,8 +1530,8 @@ int LocationBarView::GetDragOperationsForView(views::View* sender,
|
| }
|
|
|
| bool LocationBarView::CanStartDragForView(View* sender,
|
| - const gfx::Point& press_pt,
|
| - const gfx::Point& p) {
|
| + const gfx::PointF& press_pt,
|
| + const gfx::PointF& p) {
|
| return true;
|
| }
|
|
|
|
|