Bug 1491798- Schedule repaint if WebRender is updated by tab move r=mattwoodrow
This commit is contained in:
@@ -561,6 +561,12 @@ WebRenderLayerManager::WrUpdated()
|
||||
{
|
||||
mWebRenderCommandBuilder.ClearCachedResources();
|
||||
DiscardLocalImages();
|
||||
|
||||
if (mWidget) {
|
||||
if (dom::TabChild* tabChild = mWidget->GetOwningTabChild()) {
|
||||
tabChild->SchedulePaint();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dom::TabGroup*
|
||||
|
||||
Reference in New Issue
Block a user