mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-11 18:24:02 +00:00
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:
parent
cea5f91c2e
commit
2d53baa4f5
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user