Index: third_party/WebKit/Source/web/WebPluginContainerImpl.cpp |
diff --git a/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp b/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp |
index 30ac3e4ccea90b9c38cfe267aa447d851f526e5a..88e7a9f10b0eaaa103191c2aa135b038427d9863 100644 |
--- a/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp |
@@ -753,9 +753,8 @@ void WebPluginContainerImpl::handleDragEvent(MouseEvent* event) { |
WebDragOperationsMask dragOperationMask = |
static_cast<WebDragOperationsMask>(dataTransfer->sourceOperation()); |
WebPoint dragScreenLocation(event->screenX(), event->screenY()); |
- WebPoint dragLocation( |
- (event->absoluteLocation().x() - location().x()).toInt(), |
- (event->absoluteLocation().y() - location().y()).toInt()); |
+ WebPoint dragLocation(event->absoluteLocation().x() - location().x(), |
+ event->absoluteLocation().y() - location().y()); |
m_webPlugin->handleDragStatusUpdate(dragStatus, dragData, dragOperationMask, |
dragLocation, dragScreenLocation); |