From 19e96f94febb7f0f9ebcc50a3b4d0cd611b185b6 Mon Sep 17 00:00:00 2001 From: Marshall Greenblatt Date: Tue, 22 May 2012 21:10:00 +0000 Subject: [PATCH] Fix CefContextMenuParamsImpl::GetYCoord() to return the correct value (issue #602). git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@642 5089003a-bbd8-11dd-ad1f-f1f9622dbc98 --- libcef/browser/context_menu_params_impl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcef/browser/context_menu_params_impl.cc b/libcef/browser/context_menu_params_impl.cc index 7f31568d0..eaed08b0c 100644 --- a/libcef/browser/context_menu_params_impl.cc +++ b/libcef/browser/context_menu_params_impl.cc @@ -22,7 +22,7 @@ int CefContextMenuParamsImpl::GetXCoord() { int CefContextMenuParamsImpl::GetYCoord() { CEF_VALUE_VERIFY_RETURN(false, 0); - return const_value().x; + return const_value().y; } CefContextMenuParamsImpl::TypeFlags CefContextMenuParamsImpl::GetTypeFlags() {