зеркало из https://github.com/mozilla/gecko-dev.git
b=548434 NULL check aNPP in _invalidaterect for nspluginwrapper r=cjones
--HG-- extra : rebase_source : 6af217c167b313f034461ec63d7dd45cb5bd5225
This commit is contained in:
Родитель
79a3603e5a
Коммит
a0842f75ce
|
@ -945,7 +945,10 @@ _invalidaterect(NPP aNPP,
|
|||
{
|
||||
PLUGIN_LOG_DEBUG_FUNCTION;
|
||||
AssertPluginThread();
|
||||
InstCast(aNPP)->InvalidateRect(aInvalidRect);
|
||||
// NULL check for nspluginwrapper (bug 548434)
|
||||
if (aNPP) {
|
||||
InstCast(aNPP)->InvalidateRect(aInvalidRect);
|
||||
}
|
||||
}
|
||||
|
||||
void NP_CALLBACK
|
||||
|
|
Загрузка…
Ссылка в новой задаче