Unreviewed, fix -Wpessimizing-move warning
authormcatanzaro@igalia.com <mcatanzaro@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 24 Mar 2019 17:17:03 +0000 (17:17 +0000)
committermcatanzaro@igalia.com <mcatanzaro@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 24 Mar 2019 17:17:03 +0000 (17:17 +0000)
https://bugs.webkit.org/show_bug.cgi?id=195905
<rdar://problem/49121824>

* svg/properties/SVGPropertyList.h:

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

Source/WebCore/ChangeLog
Source/WebCore/svg/properties/SVGPropertyList.h

index fd2128b..28f28f5 100644 (file)
@@ -1,3 +1,11 @@
+2019-03-24  Michael Catanzaro  <mcatanzaro@igalia.com>
+
+        Unreviewed, fix -Wpessimizing-move warning
+        https://bugs.webkit.org/show_bug.cgi?id=195905
+        <rdar://problem/49121824>
+
+        * svg/properties/SVGPropertyList.h:
+
 2019-03-23  Justin Fan  <justin_fan@apple.com>
 
         [Web GPU] Prototype compute pipeline with MSL
index 0a11a05..db47919 100644 (file)
@@ -117,7 +117,7 @@ protected:
         // Spec: Detach item.
         item->detach();
         m_items.remove(index);
-        return WTFMove(item);
+        return item;
     }
 
     Ref<PropertyType> append(Ref<PropertyType>&& newItem) override