| Index: content/child/npapi/webplugin_delegate_impl_win.cc
|
| diff --git a/content/child/npapi/webplugin_delegate_impl_win.cc b/content/child/npapi/webplugin_delegate_impl_win.cc
|
| index 7a8ae8e3475cf4a0d4104169f1ce393a6c6e59a8..d64af01c4fdb989cbb2ff0049d7983a3bedfeae9 100644
|
| --- a/content/child/npapi/webplugin_delegate_impl_win.cc
|
| +++ b/content/child/npapi/webplugin_delegate_impl_win.cc
|
| @@ -1092,8 +1092,8 @@ bool WebPluginDelegateImpl::PlatformSetPluginHasFocus(bool focused) {
|
|
|
| static bool NPEventFromWebMouseEvent(const WebMouseEvent& event,
|
| NPEvent* np_event) {
|
| - np_event->lParam = static_cast<uint32>(MAKELPARAM(event.windowX,
|
| - event.windowY));
|
| + np_event->lParam =
|
| + static_cast<uint32>(MAKELPARAM(event.windowX, event.windowY));
|
| np_event->wParam = 0;
|
|
|
| if (event.modifiers & WebInputEvent::ControlKey)
|
| @@ -1124,6 +1124,8 @@ static bool NPEventFromWebMouseEvent(const WebMouseEvent& event,
|
| case WebMouseEvent::ButtonRight:
|
| np_event->event = WM_RBUTTONDOWN;
|
| break;
|
| + case WebMouseEvent::ButtonNone:
|
| + break;
|
| }
|
| return true;
|
| case WebInputEvent::MouseUp:
|
| @@ -1137,6 +1139,8 @@ static bool NPEventFromWebMouseEvent(const WebMouseEvent& event,
|
| case WebMouseEvent::ButtonRight:
|
| np_event->event = WM_RBUTTONUP;
|
| break;
|
| + case WebMouseEvent::ButtonNone:
|
| + break;
|
| }
|
| return true;
|
| default:
|
|
|