Bug 1389539 - Remove unused ResetCompositor declaration. r?jrmuizel draft
authorRyan Hunt <rhunt@eqrion.net>
Thu, 10 Aug 2017 15:33:26 -0500
changeset 644963 17ff23c6314b402ec2e92bb14343a3b5b677b823
parent 642518 a921bfb8a2cf3db4d9edebe9b35799a3f9d035da
child 725762 ddd0fae5b12e1461544fcb3bac13962cc71fee6e
push id73603
push userbmo:rhunt@eqrion.net
push dateFri, 11 Aug 2017 16:04:42 +0000
reviewersjrmuizel
bugs1389539
milestone57.0a1
Bug 1389539 - Remove unused ResetCompositor declaration. r?jrmuizel MozReview-Commit-ID: 9dK2eYYvidS
gfx/layers/ipc/CompositorBridgeParent.h
--- 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;