| Index: Source/web/WebViewImpl.cpp
|
| diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp
|
| index 738be5c9fc37b3f55c2b85f6eaf696c69851f3e9..a547faa892b2efc528a7301c19e1c5f558cca7cb 100644
|
| --- a/Source/web/WebViewImpl.cpp
|
| +++ b/Source/web/WebViewImpl.cpp
|
| @@ -558,7 +558,7 @@ void WebViewImpl::handleMouseDown(Frame& mainFrame, const WebMouseEvent& event)
|
| || (event.button == WebMouseEvent::ButtonLeft
|
| && event.modifiers & WebMouseEvent::ControlKey))
|
| mouseContextMenu(event);
|
| -#elif OS(UNIX)
|
| +#elif OS(POSIX)
|
| if (event.button == WebMouseEvent::ButtonRight)
|
| mouseContextMenu(event);
|
| #endif
|
| @@ -937,7 +937,7 @@ bool WebViewImpl::handleKeyEvent(const WebKeyboardEvent& event)
|
| const WebInputEvent::Type contextMenuTriggeringEventType =
|
| #if OS(WIN)
|
| WebInputEvent::KeyUp;
|
| -#elif OS(UNIX)
|
| +#elif OS(POSIX)
|
| WebInputEvent::RawKeyDown;
|
| #endif
|
|
|
|
|