Bug 1471639 - Allow OMTP with edge-padding. r=nical
MozReview-Commit-ID: JUNk79jLQcj
--- a/gfx/thebes/gfxPlatform.cpp
+++ b/gfx/thebes/gfxPlatform.cpp
@@ -2726,19 +2726,16 @@ gfxPlatform::InitOMTPConfig()
omtp.ForceDisable(FeatureStatus::Blocked, "OMTP blocked before OSX 10.10",
NS_LITERAL_CSTRING("FEATURE_FAILURE_OMTP_OSX_MAVERICKS"));
}
#endif
if (InSafeMode()) {
omtp.ForceDisable(FeatureStatus::Blocked, "OMTP blocked by safe-mode",
NS_LITERAL_CSTRING("FEATURE_FAILURE_COMP_SAFEMODE"));
- } else if (gfxPrefs::TileEdgePaddingEnabled()) {
- omtp.ForceDisable(FeatureStatus::Blocked, "OMTP does not yet support tiling with edge padding",
- NS_LITERAL_CSTRING("FEATURE_FAILURE_OMTP_TILING"));
}
if (omtp.IsEnabled()) {
gfxVars::SetUseOMTP(true);
reporter.SetSuccessful(paintWorkerCount);
}
}