From b36e6061584f8518078c13b672f9ef05157f2826 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Thu, 20 Feb 2020 12:12:30 -0500 Subject: Issue #1053 - Remove conditional android code from widget/ --- widget/GfxDriverInfo.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'widget/GfxDriverInfo.h') diff --git a/widget/GfxDriverInfo.h b/widget/GfxDriverInfo.h index 99d560b819..256142c87d 100644 --- a/widget/GfxDriverInfo.h +++ b/widget/GfxDriverInfo.h @@ -58,7 +58,6 @@ enum class OperatingSystem { OSX10_10, OSX10_11, OSX10_12, - Android, Ios }; @@ -283,12 +282,6 @@ ParseDriverVersion(const nsAString& aVersion, uint64_t *aNumericVersion) *aNumericVersion = GFX_DRIVER_VERSION(a, b, c, d); MOZ_ASSERT(*aNumericVersion != GfxDriverInfo::allDriverVersions); return true; -#elif defined(ANDROID) - // Can't use aVersion.ToInteger() because that's not compiled into our code - // unless we have XPCOM_GLUE_AVOID_NSPR disabled. - *aNumericVersion = atoi(NS_LossyConvertUTF16toASCII(aVersion).get()); - MOZ_ASSERT(*aNumericVersion != GfxDriverInfo::allDriverVersions); - return true; #else return false; #endif -- cgit v1.2.3