Bug 1169881 - Recompute image visibility when display port margins change. r=tn

This commit is contained in:
Seth Fowler 2015-05-29 23:50:53 -07:00
Родитель 6d33a9a76e
Коммит 115caea9d3
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -1110,6 +1110,10 @@ nsLayoutUtils::SetDisplayPortMargins(nsIContent* aContent,
}
}
// Display port margins changing means that the set of visible images may
// have drastically changed. Schedule an update.
aPresShell->ScheduleImageVisibilityUpdate();
return true;
}