Bug 1518584 - Rename {FrameMetrics,RepaintRequest}::mViewport to mLayoutViewport. r=kats

Depends on D15972

Differential Revision: https://phabricator.services.mozilla.com/D15973
This commit is contained in:
Botond Ballo
2019-01-09 15:34:34 +00:00
parent 2e2e60180f
commit 80f55db304
9 changed files with 66 additions and 64 deletions

View File

@@ -13,11 +13,11 @@ namespace layers {
const ScrollableLayerGuid::ViewID ScrollableLayerGuid::NULL_SCROLL_ID = 0;
void FrameMetrics::RecalculateViewportOffset() {
void FrameMetrics::RecalculateLayoutViewportOffset() {
if (!mIsRootContent) {
return;
}
KeepLayoutViewportEnclosingVisualViewport(GetVisualViewport(), mViewport);
KeepLayoutViewportEnclosingVisualViewport(GetVisualViewport(), mLayoutViewport);
}
/* static */ void FrameMetrics::KeepLayoutViewportEnclosingVisualViewport(