Title: [258392] trunk/Source/WebCore
Revision
258392
Author
commit-qu...@webkit.org
Date
2020-03-13 03:31:45 -0700 (Fri, 13 Mar 2020)

Log Message

-Wredundant-move in CSSPropertyParserHelpers.cpp
https://bugs.webkit.org/show_bug.cgi?id=209019

Patch by Michael Catanzaro <mcatanz...@gnome.org> on 2020-03-13
Reviewed by Youenn Fablet.

Silence compiler warning by removing improper WTFMove().

* css/parser/CSSPropertyParserHelpers.cpp:
(WebCore::CSSPropertyParserHelpers::consumeDeprecatedRadialGradient):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (258391 => 258392)


--- trunk/Source/WebCore/ChangeLog	2020-03-13 10:13:11 UTC (rev 258391)
+++ trunk/Source/WebCore/ChangeLog	2020-03-13 10:31:45 UTC (rev 258392)
@@ -1,3 +1,15 @@
+2020-03-13  Michael Catanzaro  <mcatanz...@gnome.org>
+
+        -Wredundant-move in CSSPropertyParserHelpers.cpp
+        https://bugs.webkit.org/show_bug.cgi?id=209019
+
+        Reviewed by Youenn Fablet.
+
+        Silence compiler warning by removing improper WTFMove().
+
+        * css/parser/CSSPropertyParserHelpers.cpp:
+        (WebCore::CSSPropertyParserHelpers::consumeDeprecatedRadialGradient):
+
 2020-03-13  Youenn Fablet  <you...@apple.com>
 
         Apply rotation at source level if WebRTC sink ask so

Modified: trunk/Source/WebCore/css/parser/CSSPropertyParserHelpers.cpp (258391 => 258392)


--- trunk/Source/WebCore/css/parser/CSSPropertyParserHelpers.cpp	2020-03-13 10:13:11 UTC (rev 258391)
+++ trunk/Source/WebCore/css/parser/CSSPropertyParserHelpers.cpp	2020-03-13 10:31:45 UTC (rev 258392)
@@ -1173,7 +1173,7 @@
     result->setShape(WTFMove(shape));
     result->setSizingBehavior(WTFMove(sizeKeyword));
 
-    return WTFMove(result);
+    return result;
 }
 
 static RefPtr<CSSValue> consumeRadialGradient(CSSParserTokenRange& args, CSSParserMode cssParserMode, CSSGradientRepeat repeating)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to