Remove MOZ_B2G leftovers and some dead B2G-only components.

This commit is contained in:
wolfbeast 2018-05-12 14:32:03 +02:00 committed by Roy Tam
commit 719ac1bc38
91 changed files with 28 additions and 5017 deletions

View file

@ -2399,11 +2399,10 @@ gfxPlatform::GetTilesSupportInfo(mozilla::widget::InfoObject& aObj)
/*static*/ bool
gfxPlatform::AsyncPanZoomEnabled()
{
#if !defined(MOZ_B2G) && !defined(MOZ_WIDGET_ANDROID) && !defined(MOZ_WIDGET_UIKIT)
// For XUL applications (everything but B2G on mobile and desktop, and
// Firefox on Android) we only want to use APZ when E10S is enabled. If
// we ever get input events off the main thread we can consider relaxing
// this requirement.
#if !defined(MOZ_WIDGET_ANDROID) && !defined(MOZ_WIDGET_UIKIT)
// For XUL applications (everything but Firefox on Android) we only want
// to use APZ when E10S is enabled. If we ever get input events off the
// main thread we can consider relaxing this requirement.
if (!BrowserTabsRemoteAutostart()) {
return false;
}