| Index: Source/WebCore/page/EventHandler.cpp
|
| diff --git a/Source/WebCore/page/EventHandler.cpp b/Source/WebCore/page/EventHandler.cpp
|
| index dcd870313b2ead952a0eab9b6a422223aebb3e36..216a6ed138bdce0c360acc2f82e08c577ce83e99 100644
|
| --- a/Source/WebCore/page/EventHandler.cpp
|
| +++ b/Source/WebCore/page/EventHandler.cpp
|
| @@ -1757,7 +1757,7 @@ bool EventHandler::handleMouseReleaseEvent(const PlatformMouseEvent& mouseEvent)
|
| bool swallowMouseUpEvent = !dispatchMouseEvent(eventNames().mouseupEvent, mev.targetNode(), true, m_clickCount, mouseEvent, false);
|
|
|
| bool contextMenuEvent = mouseEvent.button() == RightButton;
|
| -#if PLATFORM(CHROMIUM) && OS(DARWIN)
|
| +#if OS(DARWIN)
|
| // FIXME: The Mac port achieves the same behavior by checking whether the context menu is currently open in WebPage::mouseEvent(). Consider merging the implementations.
|
| if (mouseEvent.button() == LeftButton && mouseEvent.modifiers() & PlatformEvent::CtrlKey)
|
| contextMenuEvent = true;
|
|
|