Bug 1389539 - Remove unused ResetCompositor declaration. r?jrmuizel
MozReview-Commit-ID: 9dK2eYYvidS
--- a/gfx/layers/ipc/CompositorBridgeParent.h
+++ b/gfx/layers/ipc/CompositorBridgeParent.h
@@ -260,31 +260,16 @@ public:
PCompositorWidgetParent* AllocPCompositorWidgetParent(const CompositorWidgetInitData& aInitData) override;
bool DeallocPCompositorWidgetParent(PCompositorWidgetParent* aActor) override;
void ObserveLayerUpdate(uint64_t aLayersId, uint64_t aEpoch, bool aActive) override { }
/**
- * Request that the compositor be recreated due to a shared device reset.
- * This must be called on the main thread, and blocks until a task posted
- * to the compositor thread has completed.
- *
- * Note that this posts a task directly, rather than using synchronous
- * IPDL, and waits on a monitor notification from the compositor thread.
- * We do this as a best-effort attempt to jump any IPDL messages that
- * have not yet been posted (and are sitting around in the IO pipe), to
- * minimize the amount of time the main thread is blocked.
- */
- bool ResetCompositor(const nsTArray<LayersBackend>& aBackendHints,
- uint64_t aSeqNo,
- TextureFactoryIdentifier* aOutIdentifier);
-
- /**
* This forces the is-first-paint flag to true. This is intended to
* be called by the widget code when it loses its viewport information
* (or for whatever reason wants to refresh the viewport information).
* The information refresh happens because the compositor will call
* SetFirstPaintViewport on the next frame of composition.
*/
mozilla::ipc::IPCResult RecvForceIsFirstPaint() override;