| Index: chrome/browser/ui/views/omnibox/omnibox_view_win.cc
|
| diff --git a/chrome/browser/ui/views/omnibox/omnibox_view_win.cc b/chrome/browser/ui/views/omnibox/omnibox_view_win.cc
|
| index 62b4c97d279191a424a5f15d4a13cc66a2ef9e77..85aaae4a8b217cd534586598b237d6d0efe02de0 100644
|
| --- a/chrome/browser/ui/views/omnibox/omnibox_view_win.cc
|
| +++ b/chrome/browser/ui/views/omnibox/omnibox_view_win.cc
|
| @@ -121,8 +121,8 @@ struct AutocompleteEditState : public base::SupportsUserData::Data {
|
| // Returns true if the current point is far enough from the origin that it
|
| // would be considered a drag.
|
| bool IsDrag(const POINT& origin, const POINT& current) {
|
| - return views::View::ExceededDragThreshold(current.x - origin.x,
|
| - current.y - origin.y);
|
| + return views::View::ExceededDragThreshold(
|
| + gfx::Point(current) - gfx::Point(origin));
|
| }
|
|
|
| // Write |text| and an optional |url| to the clipboard.
|
|
|