--- a/dom/ipc/TabChild.cpp
+++ b/dom/ipc/TabChild.cpp
@@ -2531,17 +2531,19 @@ TabChild::RemovePendingDocShellBlocker()
{
mPendingDocShellBlockers--;
if (!mPendingDocShellBlockers && mPendingDocShellReceivedMessage) {
mPendingDocShellReceivedMessage = false;
InternalSetDocShellIsActive(mPendingDocShellIsActive);
}
if (!mPendingDocShellBlockers && mPendingRenderLayersReceivedMessage) {
mPendingRenderLayersReceivedMessage = false;
- RecvRenderLayers(mPendingRenderLayers, false, mPendingLayerObserverEpoch);
+ RecvRenderLayers(mPendingRenderLayers,
+ false /* aForceRepaint */,
+ mPendingLayerObserverEpoch);
}
}
void
TabChild::InternalSetDocShellIsActive(bool aIsActive)
{
nsCOMPtr<nsIDocShell> docShell = do_GetInterface(WebNavigation());
@@ -3451,17 +3453,17 @@ TabChild::PaintWhileInterruptingJS(uint6
{
if (!IPCOpen() || !mPuppetWidget || !mPuppetWidget->HasLayerManager()) {
// Don't bother doing anything now. Better to wait until we receive the
// message on the PContent channel.
return;
}
nsAutoScriptBlocker scriptBlocker;
- RecvRenderLayers(true, aForceRepaint, aLayerObserverEpoch);
+ RecvRenderLayers(true /* aEnabled */, aForceRepaint, aLayerObserverEpoch);
}
void
TabChild::BeforeUnloadAdded()
{
// Don't bother notifying the parent if we don't have an IPC link open.
if (mBeforeUnloadListeners == 0 && IPCOpen()) {
SendSetHasBeforeUnload(true);