Title: [247823] trunk/Source/WebKit
Revision
247823
Author
[email protected]
Date
2019-07-25 09:07:09 -0700 (Thu, 25 Jul 2019)

Log Message

Unreviewed, fix -Wredundant-move warning spam after r247672
https://bugs.webkit.org/show_bug.cgi?id=199967
<rdar://problem/53351435>

* Platform/IPC/ArgumentCoders.cpp:
(IPC::decodeStringText):
* Platform/IPC/ArgumentCoders.h:

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (247822 => 247823)


--- trunk/Source/WebKit/ChangeLog	2019-07-25 15:42:11 UTC (rev 247822)
+++ trunk/Source/WebKit/ChangeLog	2019-07-25 16:07:09 UTC (rev 247823)
@@ -1,3 +1,13 @@
+2019-07-25  Michael Catanzaro  <[email protected]>
+
+        Unreviewed, fix -Wredundant-move warning spam after r247672
+        https://bugs.webkit.org/show_bug.cgi?id=199967
+        <rdar://problem/53351435>
+
+        * Platform/IPC/ArgumentCoders.cpp:
+        (IPC::decodeStringText):
+        * Platform/IPC/ArgumentCoders.h:
+
 2019-07-25  Chris Dumez  <[email protected]>
 
         Avoid UI Process hangs when the WebContent process is showing JS prompts / alerts

Modified: trunk/Source/WebKit/Platform/IPC/ArgumentCoders.cpp (247822 => 247823)


--- trunk/Source/WebKit/Platform/IPC/ArgumentCoders.cpp	2019-07-25 15:42:11 UTC (rev 247822)
+++ trunk/Source/WebKit/Platform/IPC/ArgumentCoders.cpp	2019-07-25 16:07:09 UTC (rev 247823)
@@ -145,7 +145,7 @@
     if (!decoder.decodeFixedLengthData(reinterpret_cast<uint8_t*>(buffer), length * sizeof(CharacterType), alignof(CharacterType)))
         return WTF::nullopt;
     
-    return WTFMove(string);
+    return string;
 }
 
 Optional<String> ArgumentCoder<String>::decode(Decoder& decoder)

Modified: trunk/Source/WebKit/Platform/IPC/ArgumentCoders.h (247822 => 247823)


--- trunk/Source/WebKit/Platform/IPC/ArgumentCoders.h	2019-07-25 15:42:11 UTC (rev 247822)
+++ trunk/Source/WebKit/Platform/IPC/ArgumentCoders.h	2019-07-25 16:07:09 UTC (rev 247823)
@@ -397,7 +397,7 @@
             }
         }
 
-        return WTFMove(hashMap);
+        return hashMap;
     }
 
     static bool decode(Decoder& decoder, HashMapType& hashMap)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to