Bug 749953. Revert a hunk of bug 753762 to fix XUL panning. r=cjones

I have no idea why this makes a difference.
This commit is contained in:
Jeff Muizelaar 2012-05-29 15:40:50 -04:00
parent cea5f91c2e
commit 2d53baa4f5

View File

@ -384,8 +384,8 @@ BuildViewMap(ViewMap& oldContentViews, ViewMap& newContentViews,
NSIntPixelsToAppUnits(metrics.mViewport.width, auPerDevPixel) * aXScale,
NSIntPixelsToAppUnits(metrics.mViewport.height, auPerDevPixel) * aYScale);
view->mContentSize = nsSize(
nsPresContext::CSSPixelsToAppUnits(metrics.mCSSContentRect.width) * aXScale,
nsPresContext::CSSPixelsToAppUnits(metrics.mCSSContentRect.height) * aYScale);
NSIntPixelsToAppUnits(metrics.mContentRect.width, auPerDevPixel) * aXScale,
NSIntPixelsToAppUnits(metrics.mContentRect.height, auPerDevPixel) * aYScale);
newContentViews[scrollId] = view;
}