Backed out changeset 47d076aeb8c4 (bug 1218552) for build bustage CLOSED TREE

This commit is contained in:
Wes Kocher
2015-10-30 13:37:50 -07:00
parent 1c8b147a2d
commit 0c7830821c
6 changed files with 24 additions and 40 deletions

View File

@@ -217,7 +217,7 @@ nsBaseDragService::InvokeDragSession(nsIDOMNode *aDOMNode,
// stash the document of the dom node
aDOMNode->GetOwnerDocument(getter_AddRefs(mSourceDocument));
mSourceNode = aDOMNode;
mEndDragPoint = LayoutDeviceIntPoint(0, 0);
mEndDragPoint = nsIntPoint(0, 0);
// When the mouse goes down, the selection code starts a mouse
// capture. However, this gets in the way of determining drag
@@ -413,7 +413,7 @@ nsBaseDragService::EndDragSession(bool aDoneDrag)
mImageOffset = CSSIntPoint();
mScreenX = -1;
mScreenY = -1;
mEndDragPoint = LayoutDeviceIntPoint(0, 0);
mEndDragPoint = nsIntPoint(0, 0);
mInputSource = nsIDOMMouseEvent::MOZ_SOURCE_MOUSE;
return NS_OK;