Title: [279311] trunk/Source/WebCore
Revision
279311
Author
[email protected]
Date
2021-06-26 22:42:32 -0700 (Sat, 26 Jun 2021)

Log Message

Unreviewed. Remove the build warnings below since r279050.
warning: redundant move in return statement [-Wredundant-move]

No new tests, no new behavioral changes.

* css/parser/CSSPropertyParser.cpp:
(WebCore::consumeCounterStyleAdditiveSymbols):
* css/parser/CSSPropertyParserWorkerSafe.cpp:
(WebCore::CSSPropertyParserHelpersWorkerSafe::consumeFontFaceSrcURI):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (279310 => 279311)


--- trunk/Source/WebCore/ChangeLog	2021-06-27 02:06:45 UTC (rev 279310)
+++ trunk/Source/WebCore/ChangeLog	2021-06-27 05:42:32 UTC (rev 279311)
@@ -1,3 +1,15 @@
+2021-06-26  Joonghun Park  <[email protected]>
+
+        Unreviewed. Remove the build warnings below since r279050.
+        warning: redundant move in return statement [-Wredundant-move]
+
+        No new tests, no new behavioral changes.
+
+        * css/parser/CSSPropertyParser.cpp:
+        (WebCore::consumeCounterStyleAdditiveSymbols):
+        * css/parser/CSSPropertyParserWorkerSafe.cpp:
+        (WebCore::CSSPropertyParserHelpersWorkerSafe::consumeFontFaceSrcURI):
+
 2021-06-26  Sam Weinig  <[email protected]>
 
         [Modern Media Controls] Modern media controls should not need to know about specific platforms in shared code

Modified: trunk/Source/WebCore/css/parser/CSSPropertyParser.cpp (279310 => 279311)


--- trunk/Source/WebCore/css/parser/CSSPropertyParser.cpp	2021-06-27 02:06:45 UTC (rev 279310)
+++ trunk/Source/WebCore/css/parser/CSSPropertyParser.cpp	2021-06-27 05:42:32 UTC (rev 279311)
@@ -4703,7 +4703,7 @@
     } while (consumeCommaIncludingWhitespace(range));
     if (!range.atEnd() || !values->length())
         return nullptr;
-    return WTFMove(values);
+    return values;
 }
 
 // https://www.w3.org/TR/css-counter-styles-3/#counter-style-speak-as

Modified: trunk/Source/WebCore/css/parser/CSSPropertyParserWorkerSafe.cpp (279310 => 279311)


--- trunk/Source/WebCore/css/parser/CSSPropertyParserWorkerSafe.cpp	2021-06-27 02:06:45 UTC (rev 279310)
+++ trunk/Source/WebCore/css/parser/CSSPropertyParserWorkerSafe.cpp	2021-06-27 05:42:32 UTC (rev 279311)
@@ -220,7 +220,7 @@
     // FIXME: Change CSSFontFaceSrcValue::create to take format so we don't need a separate setFormat call.
     auto srcValue = CSSFontFaceSrcValue::create(location, context.isContentOpaque ? LoadedFromOpaqueSource::Yes : LoadedFromOpaqueSource::No);
     srcValue->setFormat(format);
-    return WTFMove(srcValue);
+    return srcValue;
 }
 
 static RefPtr<CSSValue> consumeFontFaceSrcLocal(CSSParserTokenRange& range)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to