diff options
author | Moonchild <moonchild@palemoon.org> | 2020-12-26 10:16:55 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-12-26 10:16:55 +0000 |
commit | ae2a160348562dfa5361f1e68226365b240c9597 (patch) | |
tree | 8c3ee83f8a4b618942d4e215a6937af20d7a66b4 /layout/base/FrameLayerBuilder.cpp | |
parent | 9f004841a248c7c17f536be77d7af67de7b3f39b (diff) | |
download | UXP-ae2a160348562dfa5361f1e68226365b240c9597.tar UXP-ae2a160348562dfa5361f1e68226365b240c9597.tar.gz UXP-ae2a160348562dfa5361f1e68226365b240c9597.tar.lz UXP-ae2a160348562dfa5361f1e68226365b240c9597.tar.xz UXP-ae2a160348562dfa5361f1e68226365b240c9597.zip |
Issue #1053 - Part 2a: Remove android from /layout (partial)
This removes android code from base, build, forms, generic, inspector, style,
printing, tools and xul.
Diffstat (limited to 'layout/base/FrameLayerBuilder.cpp')
-rw-r--r-- | layout/base/FrameLayerBuilder.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/layout/base/FrameLayerBuilder.cpp b/layout/base/FrameLayerBuilder.cpp index 934d108e0..8695cd650 100644 --- a/layout/base/FrameLayerBuilder.cpp +++ b/layout/base/FrameLayerBuilder.cpp @@ -2502,7 +2502,6 @@ ContainerState::PreparePaintedLayerForUse(PaintedLayer* aLayer, aData->mVisibilityComputedRegion.SetEmpty(); // FIXME: Temporary workaround for bug 681192 and bug 724786. -#ifndef MOZ_WIDGET_ANDROID // Calculate exact position of the top-left of the active scrolled root. // This might not be 0,0 due to the snapping in ScaleToNearestPixels. gfxPoint animatedGeometryRootTopLeft = scaledOffset - ThebesPoint(matrix.GetTranslation()) + mParameters.mOffset; @@ -2515,9 +2514,6 @@ ContainerState::PreparePaintedLayerForUse(PaintedLayer* aLayer, } else if (didResetScrollPositionForLayerPixelAlignment) { aData->mAnimatedGeometryRootPosition = animatedGeometryRootTopLeft; } -#else - Unused << didResetScrollPositionForLayerPixelAlignment; -#endif } #if defined(DEBUG) || defined(MOZ_DUMP_PAINTING) |