Bug 1491798- Schedule repaint if WebRender is updated by tab move r=mattwoodrow

This commit is contained in:
sotaro
2018-10-01 10:12:22 +09:00
parent 4022fe8ca9
commit c8e3a985ec
3 changed files with 26 additions and 0 deletions

View File

@@ -561,6 +561,12 @@ WebRenderLayerManager::WrUpdated()
{
mWebRenderCommandBuilder.ClearCachedResources();
DiscardLocalImages();
if (mWidget) {
if (dom::TabChild* tabChild = mWidget->GetOwningTabChild()) {
tabChild->SchedulePaint();
}
}
}
dom::TabGroup*