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/nsLayoutUtils.cpp | |
parent | 9f004841a248c7c17f536be77d7af67de7b3f39b (diff) | |
download | uxp-ae2a160348562dfa5361f1e68226365b240c9597.tar.gz |
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/nsLayoutUtils.cpp')
-rw-r--r-- | layout/base/nsLayoutUtils.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/layout/base/nsLayoutUtils.cpp b/layout/base/nsLayoutUtils.cpp index f2d166470d..86a11bce9e 100644 --- a/layout/base/nsLayoutUtils.cpp +++ b/layout/base/nsLayoutUtils.cpp @@ -911,11 +911,6 @@ ApplyRectMultiplier(nsRect aRect, float aMultiplier) bool nsLayoutUtils::UsesAsyncScrolling(nsIFrame* aFrame) { -#ifdef MOZ_WIDGET_ANDROID - // We always have async scrolling for android - return true; -#endif - return AsyncPanZoomEnabled(aFrame); } @@ -8104,7 +8099,7 @@ UpdateCompositionBoundsForRCDRSF(ParentLayerRect& aCompBounds, return false; } -#if defined(MOZ_WIDGET_ANDROID) || defined(MOZ_WIDGET_UIKIT) +#if defined(MOZ_WIDGET_UIKIT) nsIWidget* widget = rootFrame->GetNearestWidget(); #else nsView* view = rootFrame->GetView(); |