Bug 1471704 - Correct the refcounting definition for CaptureTiledPaintState. r=nical draft
authorRyan Hunt <rhunt@eqrion.net>
Mon, 16 Jul 2018 17:37:53 -0500
changeset 819286 d2dfabce90d5977e025a071d7a22615e5c245111
parent 817669 e951f4ad123aa87d1d392c286db14cabb41a8560
child 819287 bd55fef362819acd6d29ee56f540dc5e8ea58749
push id116495
push userbmo:rhunt@eqrion.net
push dateTue, 17 Jul 2018 14:47:11 +0000
reviewersnical
bugs1471704
milestone63.0a1
Bug 1471704 - Correct the refcounting definition for CaptureTiledPaintState. r=nical MozReview-Commit-ID: 8ZqsWQMOD9W
gfx/layers/PaintThread.h
--- a/gfx/layers/PaintThread.h
+++ b/gfx/layers/PaintThread.h
@@ -181,17 +181,17 @@ protected:
   ~CapturedBufferState() {}
 };
 
 typedef bool (*PrepDrawTargetForPaintingCallback)(CapturedPaintState* aPaintState);
 
 // Holds the key operations needed to update a tiled content client on the
 // paint thread.
 class CapturedTiledPaintState {
-  NS_INLINE_DECL_THREADSAFE_REFCOUNTING(CapturedPaintState)
+  NS_INLINE_DECL_THREADSAFE_REFCOUNTING(CapturedTiledPaintState)
 public:
   struct Copy {
     Copy(RefPtr<gfx::DrawTarget> aSource,
          RefPtr<gfx::DrawTarget> aDestination,
          gfx::IntRect aSourceBounds,
          gfx::IntPoint aDestinationPoint)
       : mSource(aSource)
       , mDestination(aDestination)