Bug 1354434 - Update PuppetWidget::Paint() as to handle WebRenderLayerManager r=mattwoodrow
This commit is contained in:
@@ -1102,7 +1102,8 @@ PuppetWidget::Paint()
|
|||||||
"PuppetWidget", 0);
|
"PuppetWidget", 0);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (mozilla::layers::LayersBackend::LAYERS_CLIENT == mLayerManager->GetBackendType()) {
|
if (mLayerManager->GetBackendType() == mozilla::layers::LayersBackend::LAYERS_CLIENT ||
|
||||||
|
mLayerManager->GetBackendType() == mozilla::layers::LayersBackend::LAYERS_WR) {
|
||||||
// Do nothing, the compositor will handle drawing
|
// Do nothing, the compositor will handle drawing
|
||||||
if (mTabChild) {
|
if (mTabChild) {
|
||||||
mTabChild->NotifyPainted();
|
mTabChild->NotifyPainted();
|
||||||
|
|||||||
Reference in New Issue
Block a user