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 b8c71bbe8323f2a0b027200095a23e19a8b8551b..aa86eaf163bf4a915b10072c4e0ee2a088709d09 100644 |
--- a/chrome/browser/ui/views/location_bar/location_bar_view.cc |
+++ b/chrome/browser/ui/views/location_bar/location_bar_view.cc |
@@ -997,7 +997,7 @@ void LocationBarView::RefreshPageActionViews() { |
#if defined(OS_WIN) && !defined(USE_AURA) |
void LocationBarView::OnMouseEvent(const views::MouseEvent& event, UINT msg) { |
- UINT flags = event.GetWindowsFlags(); |
+ UINT flags = event.native_event().wParam; |
gfx::Point screen_point(event.location()); |
ConvertPointToScreen(this, &screen_point); |
if (views::Widget::IsPureViews()) |