зеркало из https://github.com/mozilla/gecko-dev.git
Bug 930056 - Force invalidate frame when displayitem is remote type. r=mattwoodrow
This commit is contained in:
Родитель
223ff1be02
Коммит
1725da86f8
|
@ -4892,7 +4892,13 @@ nsIFrame::InvalidateLayer(uint32_t aDisplayItemKey,
|
|||
// Plugins can transition from not rendering anything to rendering,
|
||||
// and still only call this. So always invalidate, with specifying
|
||||
// the display item type just in case.
|
||||
if (aDisplayItemKey == nsDisplayItem::TYPE_PLUGIN) {
|
||||
//
|
||||
// In the bug 930056, dialer app startup but not shown on the
|
||||
// screen because sometimes we don't have any retainned data
|
||||
// for remote type displayitem and thus Repaint event is not
|
||||
// triggered. So, always invalidate here as well.
|
||||
if (aDisplayItemKey == nsDisplayItem::TYPE_PLUGIN ||
|
||||
aDisplayItemKey == nsDisplayItem::TYPE_REMOTE) {
|
||||
InvalidateFrame();
|
||||
} else {
|
||||
InvalidateFrame(aDisplayItemKey);
|
||||
|
|
Загрузка…
Ссылка в новой задаче