From f474b2b60ec57205facd4eec2181ebe69b686772 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Mon, 26 Nov 2012 11:37:00 +0100 Subject: Imported WebKit commit 76dac539db7ece7079963adfcfe878d8e2f7d861 (http://svn.webkit.org/repository/webkit/trunk@135696) New snapshot that fixes build after QMacStyle removal Change-Id: Idea95c96c73b49158d52861db2a4b8d2c51766b0 Reviewed-by: Simon Hausmann --- Source/WebCore/html/HTMLButtonElement.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/WebCore/html/HTMLButtonElement.cpp') diff --git a/Source/WebCore/html/HTMLButtonElement.cpp b/Source/WebCore/html/HTMLButtonElement.cpp index 1c9d53df6..eff6fd857 100644 --- a/Source/WebCore/html/HTMLButtonElement.cpp +++ b/Source/WebCore/html/HTMLButtonElement.cpp @@ -192,8 +192,8 @@ bool HTMLButtonElement::appendFormData(FormDataList& formData, bool) void HTMLButtonElement::accessKeyAction(bool sendMouseEvents) { focus(); - // Send the mouse button events if the caller specified sendMouseEvents - dispatchSimulatedClick(0, sendMouseEvents); + + dispatchSimulatedClick(0, sendMouseEvents ? SendMouseUpDownEvents : SendNoEvents); } bool HTMLButtonElement::isURLAttribute(const Attribute& attribute) const -- cgit v1.2.1