diff options
author | Matt A. Tobin <email@mattatobin.com> | 2020-02-20 12:12:30 -0500 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2020-02-20 12:12:30 -0500 |
commit | b36e6061584f8518078c13b672f9ef05157f2826 (patch) | |
tree | 2dcbc437458dce9ccbcce31a29424f8f6a331900 /widget/GfxDriverInfo.h | |
parent | 18e74277b30891033c95cac58d8a9d53b1cdb646 (diff) | |
download | UXP-b36e6061584f8518078c13b672f9ef05157f2826.tar UXP-b36e6061584f8518078c13b672f9ef05157f2826.tar.gz UXP-b36e6061584f8518078c13b672f9ef05157f2826.tar.lz UXP-b36e6061584f8518078c13b672f9ef05157f2826.tar.xz UXP-b36e6061584f8518078c13b672f9ef05157f2826.zip |
Issue #1053 - Remove conditional android code from widget/
Diffstat (limited to 'widget/GfxDriverInfo.h')
-rw-r--r-- | widget/GfxDriverInfo.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/widget/GfxDriverInfo.h b/widget/GfxDriverInfo.h index 99d560b81..256142c87 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 |