Bug 980493 - Transition FrameMetrics::mZoom to use a getter/setter. r=kats

This commit is contained in:
Botond Ballo
2014-03-12 12:46:57 -04:00
parent 66174331db
commit cdd8d9b5eb
11 changed files with 65 additions and 50 deletions

View File

@@ -1880,7 +1880,7 @@ AndroidBridge::RequestContentRepaint(const mozilla::layers::FrameMetrics& aFrame
{
ALOG_BRIDGE("AndroidBridge::RequestContentRepaint");
CSSToScreenScale resolution = aFrameMetrics.mZoom;
CSSToScreenScale resolution = aFrameMetrics.GetZoom();
ScreenRect dp = (aFrameMetrics.mDisplayPort + aFrameMetrics.GetScrollOffset()) * resolution;
mNativePanZoomController->RequestContentRepaintWrapper(dp.x, dp.y, dp.width, dp.height, resolution.scale);