Title: [248211] releases/WebKitGTK/webkit-2.24/Source/WebCore/inspector/InspectorOverlay.cpp
Revision
248211
Author
[email protected]
Date
2019-08-03 20:22:19 -0700 (Sat, 03 Aug 2019)

Log Message

Unreviewed, fix build warnings in InspectorOverlay.cpp

* inspector/InspectorOverlay.cpp:
(WebCore::buildArrayForRendererFragments):
(WebCore::buildObjectForShapeOutside):
(WebCore::buildObjectForElementData):
(WebCore::InspectorOverlay::buildHighlightObjectForNode const):

Modified Paths

Diff

Modified: releases/WebKitGTK/webkit-2.24/Source/WebCore/inspector/InspectorOverlay.cpp (248210 => 248211)


--- releases/WebKitGTK/webkit-2.24/Source/WebCore/inspector/InspectorOverlay.cpp	2019-08-04 03:22:18 UTC (rev 248210)
+++ releases/WebKitGTK/webkit-2.24/Source/WebCore/inspector/InspectorOverlay.cpp	2019-08-04 03:22:19 UTC (rev 248211)
@@ -463,7 +463,7 @@
     buildRendererHighlight(renderer, config, highlight, InspectorOverlay::CoordinateSystem::View);
     arrayOfFragments->addItem(buildObjectForHighlight(highlight));
 
-    return WTFMove(arrayOfFragments);
+    return arrayOfFragments;
 }
 
 static FloatPoint localPointToRoot(RenderObject* renderer, const FrameView* mainView, const FrameView* view, const FloatPoint& point)
@@ -565,7 +565,7 @@
         }
     }
 
-    return WTFMove(shapeObject);
+    return shapeObject;
 }
 
 static RefPtr<Inspector::Protocol::OverlayTypes::ElementData> buildObjectForElementData(Node* node, HighlightType)
@@ -639,7 +639,7 @@
             elementData->setRole(axObject->computedRoleString());
     }
 
-    return WTFMove(elementData);
+    return elementData;
 }
 
 RefPtr<Inspector::Protocol::OverlayTypes::NodeHighlightData> InspectorOverlay::buildHighlightObjectForNode(Node* node, HighlightType type) const
@@ -668,7 +668,7 @@
             nodeHighlightObject->setElementData(WTFMove(elementData));
     }
 
-    return WTFMove(nodeHighlightObject);
+    return nodeHighlightObject;
 }
 
 Ref<JSON::ArrayOf<Inspector::Protocol::OverlayTypes::NodeHighlightData>> InspectorOverlay::buildObjectForHighlightedNodes() const
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to