mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 05:11:16 +00:00
Bug 1472140 - 3. Remove ForceIsFirstPaint ipdl call; r=kats
Remove the PCompositorBridge::ForceIsFirstPaint call that's no longer used anywhere.
This commit is contained in:
parent
ffb71eca60
commit
2c94ad0e54
@ -454,11 +454,10 @@ CompositorBridgeParent::~CompositorBridgeParent()
|
||||
}
|
||||
}
|
||||
|
||||
mozilla::ipc::IPCResult
|
||||
CompositorBridgeParent::RecvForceIsFirstPaint()
|
||||
void
|
||||
CompositorBridgeParent::ForceIsFirstPaint()
|
||||
{
|
||||
mCompositionManager->ForceIsFirstPaint();
|
||||
return IPC_OK();
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -292,7 +292,7 @@ public:
|
||||
* The information refresh happens because the compositor will call
|
||||
* SetFirstPaintViewport on the next frame of composition.
|
||||
*/
|
||||
mozilla::ipc::IPCResult RecvForceIsFirstPaint() override;
|
||||
void ForceIsFirstPaint();
|
||||
|
||||
static void SetShadowProperties(Layer* aLayer);
|
||||
|
||||
|
@ -41,7 +41,6 @@ public:
|
||||
mozilla::ipc::IPCResult RecvWillClose() override { return IPC_OK(); }
|
||||
mozilla::ipc::IPCResult RecvPause() override { return IPC_OK(); }
|
||||
mozilla::ipc::IPCResult RecvResume() override { return IPC_OK(); }
|
||||
mozilla::ipc::IPCResult RecvForceIsFirstPaint() override { return IPC_OK(); }
|
||||
mozilla::ipc::IPCResult RecvNotifyChildCreated(const LayersId& child, CompositorOptions* aOptions) override;
|
||||
mozilla::ipc::IPCResult RecvMapAndNotifyChildCreated(const LayersId& child, const base::ProcessId& pid, CompositorOptions* aOptions) override;
|
||||
mozilla::ipc::IPCResult RecvNotifyChildRecreated(const LayersId& child, CompositorOptions* aOptions) override { return IPC_FAIL_NO_REASON(this); }
|
||||
|
@ -164,7 +164,6 @@ parent:
|
||||
// the compositor needs to pause/resume in lockstep with the application.
|
||||
sync Pause();
|
||||
sync Resume();
|
||||
async ForceIsFirstPaint();
|
||||
|
||||
// See bug 1316632 comment #33 for why this has to be sync. Otherwise,
|
||||
// there are ordering issues with SendPLayerTransactionConstructor.
|
||||
|
@ -75,7 +75,7 @@ UiCompositorControllerParent::RecvResumeAndResize(const int32_t& aWidth,
|
||||
CompositorBridgeParent* parent = CompositorBridgeParent::GetCompositorBridgeParentFromLayersId(mRootLayerTreeId);
|
||||
if (parent) {
|
||||
// Front-end expects a first paint callback upon resume/resize.
|
||||
parent->RecvForceIsFirstPaint();
|
||||
parent->ForceIsFirstPaint();
|
||||
parent->ResumeCompositionAndResize(aWidth, aHeight);
|
||||
}
|
||||
return IPC_OK();
|
||||
|
Loading…
Reference in New Issue
Block a user