Index: Source/web/WebPopupMenuImpl.cpp |
diff --git a/Source/web/WebPopupMenuImpl.cpp b/Source/web/WebPopupMenuImpl.cpp |
index 05c1d05281aba08063546859e375177564057c7b..91dc6581adfadd055bc7a33447e1ee318745fd61 100644 |
--- a/Source/web/WebPopupMenuImpl.cpp |
+++ b/Source/web/WebPopupMenuImpl.cpp |
@@ -68,10 +68,10 @@ WebPopupMenu* WebPopupMenu::create(WebWidgetClient* client) |
WebPopupMenuImpl::WebPopupMenuImpl(WebWidgetClient* client) |
: m_client(client) |
+ // Set to impossible point so we always get the first mouse position. |
+ , m_lastMousePosition(WebPoint(-1, -1)) |
, m_widget(0) |
{ |
- // Set to impossible point so we always get the first mouse position. |
- m_lastMousePosition = WebPoint(-1, -1); |
} |
WebPopupMenuImpl::~WebPopupMenuImpl() |