mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1266213 - Temporarily block users of GTK+ 3.20+ from e10s on Beta. r=jimm a=ritu
MozReview-Commit-ID: 56UiL3MiiUy
This commit is contained in:
parent
b873957841
commit
0554914734
@ -4656,6 +4656,8 @@ enum {
|
|||||||
kE10sDisabledForBidi = 6,
|
kE10sDisabledForBidi = 6,
|
||||||
kE10sDisabledForAddons = 7,
|
kE10sDisabledForAddons = 7,
|
||||||
kE10sForceDisabled = 8,
|
kE10sForceDisabled = 8,
|
||||||
|
kE10sDisabledForXPAcceleration = 9, // not used yet
|
||||||
|
kE10sDisabledForGTK320 = 10,
|
||||||
};
|
};
|
||||||
|
|
||||||
#if defined(XP_WIN) || defined(XP_MACOSX)
|
#if defined(XP_WIN) || defined(XP_MACOSX)
|
||||||
@ -4733,6 +4735,15 @@ MultiprocessBlockPolicy() {
|
|||||||
return gMultiprocessBlockPolicy;
|
return gMultiprocessBlockPolicy;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if defined(MOZ_WIDGET_GTK) && defined(RELEASE_BUILD)
|
||||||
|
// Bug 1266213 - Workaround for bug 1264454
|
||||||
|
// Disable for users of 3.20 or higher
|
||||||
|
if (gtk_check_version(3, 20, 0) == nullptr) {
|
||||||
|
gMultiprocessBlockPolicy = kE10sDisabledForGTK320;
|
||||||
|
return gMultiprocessBlockPolicy;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Avoids enabling e10s for certain locales that require bidi selection,
|
* Avoids enabling e10s for certain locales that require bidi selection,
|
||||||
* which currently doesn't work well with e10s.
|
* which currently doesn't work well with e10s.
|
||||||
|
Loading…
Reference in New Issue
Block a user