Follow-up fix to r185766.
authorbfulgham@apple.com <bfulgham@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 19 Jun 2015 23:33:39 +0000 (23:33 +0000)
committerbfulgham@apple.com <bfulgham@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 19 Jun 2015 23:33:39 +0000 (23:33 +0000)
https://bugs.webkit.org/show_bug.cgi?id=22132

Reviewed by Zalan Bujtas.

Suggested by Darin Adler in the bug.

* platform/graphics/filters/FETile.cpp:
(WebCore::FETile::platformApplySoftware): Use WTF::move when passing
the new tileImageCopy RefPtr.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@185776 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/filters/FETile.cpp

index 0795d41..970dca7 100644 (file)
@@ -1,3 +1,16 @@
+2015-06-19  Brent Fulgham  <bfulgham@apple.com>
+
+        Follow-up fix to r185766.
+        https://bugs.webkit.org/show_bug.cgi?id=22132
+
+        Reviewed by Zalan Bujtas.
+
+        Suggested by Darin Adler in the bug.
+
+        * platform/graphics/filters/FETile.cpp:
+        (WebCore::FETile::platformApplySoftware): Use WTF::move when passing
+        the new tileImageCopy RefPtr.
+
 2015-06-19  Michael Catanzaro  <mcatanzaro@igalia.com>
 
         [SOUP] Fix return-type-c-linkage warning after r185553
index dd50f63..8d3172d 100644 (file)
@@ -75,7 +75,7 @@ void FETile::platformApplySoftware()
     if (!tileImageCopy)
         return;
 
-    auto pattern = Pattern::create(tileImageCopy, true, true);
+    auto pattern = Pattern::create(WTF::move(tileImageCopy), true, true);
 
     AffineTransform patternTransform;
     patternTransform.translate(inMaxEffectLocation.x() - maxEffectLocation.x(), inMaxEffectLocation.y() - maxEffectLocation.y());