Commit d5e9d1a7 authored by andersca@apple.com's avatar andersca@apple.com

Address review feedback from Andreas Kling.

* WebProcess/Plugins/Netscape/mac/NetscapePluginMac.mm:
(WebKit::NetscapePlugin::platformHandleMouseEvent):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108920 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 1dac3f78
2012-02-25 Anders Carlsson <andersca@apple.com>
Address review feedback from Andreas Kling.
* WebProcess/Plugins/Netscape/mac/NetscapePluginMac.mm:
(WebKit::NetscapePlugin::platformHandleMouseEvent):
2012-02-25 Anders Carlsson <andersca@apple.com>
Mouse tracking incorrect in Silverlight when using multi monitor with offset arrangement
......@@ -580,7 +580,8 @@ bool NetscapePlugin::platformHandleMouseEvent(const WebMouseEvent& mouseEvent)
EventRecord event = initializeEventRecord(eventKind);
event.modifiers = modifiersForEvent(mouseEvent);
double globalX, globalY;
double globalX;
double globalY;
if (!convertPoint(eventPositionInPluginCoordinates.x(), eventPositionInPluginCoordinates.y(), NPCoordinateSpacePlugin, globalX, globalY, NPCoordinateSpaceFlippedScreen))
ASSERT_NOT_REACHED();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment