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 b5b7d0bd8409767593c9f120d50898942322f128..66fefaab9a2d224312350cb27cf4f191d6b1e7f2 100644 |
--- a/chrome/browser/ui/views/location_bar/location_bar_view.cc |
+++ b/chrome/browser/ui/views/location_bar/location_bar_view.cc |
@@ -1004,7 +1004,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()) |