lottie/render: keep mRle object in valid state after moving the object. 29/186829/1
authorsubhransu mohanty <sub.mohanty@samsung.com>
Thu, 16 Aug 2018 01:03:07 +0000 (10:03 +0900)
committersubhransu mohanty <sub.mohanty@samsung.com>
Thu, 16 Aug 2018 01:03:07 +0000 (10:03 +0900)
Change-Id: I15c377dc53dbe5b87184ca4751c3473f486a3121

src/vector/vdrawable.cpp

index c8df216f90fed8400ff365f0eb1646f637966952..625660ef89e43b4a01e19618ed58362621d0928b 100644 (file)
@@ -17,6 +17,7 @@ void VDrawable::preprocess()
             mRleTask = VRaster::instance().generateFillInfo(
                 std::move(mPath), std::move(mRle), mFillRule);
         }
+        mRle = VRle();
         mFlag &= ~DirtyFlag(DirtyState::Path);
     }
 }