mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
Bug 1381074: Have downloadable blocklist recognize advanced layers. r=dvander
MozReview-Commit-ID: GlzDUQoAH6P --HG-- extra : rebase_source : 0e32b40f1d4939431bad194706f623bbf4a3829b
This commit is contained in:
parent
835cab2d73
commit
b60a342a2b
@ -353,6 +353,8 @@ BlacklistFeatureToGfxFeature(const nsAString& aFeature)
|
||||
return nsIGfxInfo::FEATURE_CANVAS2D_ACCELERATION;
|
||||
else if (aFeature.EqualsLiteral("WEBGL2"))
|
||||
return nsIGfxInfo::FEATURE_WEBGL2;
|
||||
else if (aFeature.EqualsLiteral("ADVANCED_LAYERS"))
|
||||
return nsIGfxInfo::FEATURE_ADVANCED_LAYERS;
|
||||
|
||||
// If we don't recognize the feature, it may be new, and something
|
||||
// this version doesn't understand. So, nothing to do. This is
|
||||
@ -983,6 +985,7 @@ GfxInfoBase::EvaluateDownloadedBlacklist(nsTArray<GfxDriverInfo>& aDriverInfo)
|
||||
nsIGfxInfo::FEATURE_WEBRTC_HW_ACCELERATION,
|
||||
nsIGfxInfo::FEATURE_CANVAS2D_ACCELERATION,
|
||||
nsIGfxInfo::FEATURE_WEBGL2,
|
||||
nsIGfxInfo::FEATURE_ADVANCED_LAYERS,
|
||||
0
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user