Bug 980493 - Transition FrameMetrics::mZoom to use a getter/setter. r=kats
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user