Title: [198587] trunk/Source/WebCore
- Revision
- 198587
- Author
- [email protected]
- Date
- 2016-03-23 11:00:43 -0700 (Wed, 23 Mar 2016)
Log Message
Build fix for a new warning.
* editing/VisibleSelection.cpp: (WebCore::makeSearchRange): Don't move when returning,
as that prevents copy elision.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (198586 => 198587)
--- trunk/Source/WebCore/ChangeLog 2016-03-23 16:48:31 UTC (rev 198586)
+++ trunk/Source/WebCore/ChangeLog 2016-03-23 18:00:43 UTC (rev 198587)
@@ -1,3 +1,10 @@
+2016-03-23 Alexey Proskuryakov <[email protected]>
+
+ Build fix for a new warning.
+
+ * editing/VisibleSelection.cpp: (WebCore::makeSearchRange): Don't move when returning,
+ as that prevents copy elision.
+
2016-03-23 Antti Koivisto <[email protected]>
Share style by sharing RenderStyle substructures not the object itself
Modified: trunk/Source/WebCore/editing/VisibleSelection.cpp (198586 => 198587)
--- trunk/Source/WebCore/editing/VisibleSelection.cpp 2016-03-23 16:48:31 UTC (rev 198586)
+++ trunk/Source/WebCore/editing/VisibleSelection.cpp 2016-03-23 18:00:43 UTC (rev 198587)
@@ -220,7 +220,7 @@
if (ec)
return nullptr;
- return WTFMove(searchRange);
+ return searchRange;
}
bool VisibleSelection::isAll(EditingBoundaryCrossingRule rule) const
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes