Bug 1155621 - Make nsIntRect and nsIntPoint typedefs of mozilla::gfx::IntRect and mozilla::gfx::IntPoint. r=Bas

This commit is contained in:
Nicolas Silva
2015-04-21 17:04:57 +02:00
parent b67705613a
commit d73f54cb00
131 changed files with 437 additions and 562 deletions

View File

@@ -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();