зеркало из https://github.com/mozilla/pjs.git
Bug 611593 - Topcrash @ PluginInstanceChild::AnswerNPP_Destroy because we were failing to clear mCurrentInvalidateTask in InvalidateRectDelayed. r=smaug a=blocking2.0
This commit is contained in:
Родитель
0fcd32a7e8
Коммит
3b367972a4
|
@ -2791,12 +2791,12 @@ PluginInstanceChild::ReadbackDifferenceRect(const nsIntRect& rect)
|
|||
void
|
||||
PluginInstanceChild::InvalidateRectDelayed(void)
|
||||
{
|
||||
if (!mCurrentInvalidateTask || !IsVisible()) {
|
||||
if (!mCurrentInvalidateTask) {
|
||||
return;
|
||||
}
|
||||
|
||||
mCurrentInvalidateTask = nsnull;
|
||||
if (mAccumulatedInvalidRect.IsEmpty()) {
|
||||
if (mAccumulatedInvalidRect.IsEmpty() || !IsVisible()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче