зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1091621 - Bump the pluginchanged epoch value at startup to insure content processes get a complete list of plugins. r=billm
This commit is contained in:
Родитель
2fa7ba1743
Коммит
dde25d3a98
|
@ -243,6 +243,14 @@ nsPluginHost::nsPluginHost()
|
|||
// No need to initialize members to nullptr, false etc because this class
|
||||
// has a zeroing operator new.
|
||||
{
|
||||
// Bump the pluginchanged epoch on startup. This insures content gets a
|
||||
// good plugin list the first time it requests it. Normally we'd just
|
||||
// init this to 1, but due to the unique nature of our ctor we need to do
|
||||
// this manually.
|
||||
if (XRE_GetProcessType() == GeckoProcessType_Default) {
|
||||
IncrementChromeEpoch();
|
||||
}
|
||||
|
||||
// check to see if pref is set at startup to let plugins take over in
|
||||
// full page mode for certain image mime types that we handle internally
|
||||
mOverrideInternalTypes =
|
||||
|
|
Загрузка…
Ссылка в новой задаче