Bug 1155621 - Make nsIntRect and nsIntPoint typedefs of mozilla::gfx::IntRect and mozilla::gfx::IntPoint. r=Bas
This commit is contained in:
@@ -516,7 +516,7 @@ nsBaseDragService::DrawDrag(nsIDOMNode* aDOMNode,
|
||||
if (rootFrame && *aPresContext) {
|
||||
nsIntRect dragRect;
|
||||
aRegion->GetBoundingBox(&dragRect.x, &dragRect.y, &dragRect.width, &dragRect.height);
|
||||
dragRect = dragRect.ToAppUnits(nsPresContext::AppUnitsPerCSSPixel()).
|
||||
dragRect = ToAppUnits(dragRect, nsPresContext::AppUnitsPerCSSPixel()).
|
||||
ToOutsidePixels((*aPresContext)->AppUnitsPerDevPixel());
|
||||
|
||||
nsIntRect screenRect = rootFrame->GetScreenRectExternal();
|
||||
|
||||
Reference in New Issue
Block a user