Backed out changeset 47d076aeb8c4 (bug 1218552) for build bustage CLOSED TREE
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user