Title: [196811] trunk/Source/WebCore
- Revision
- 196811
- Author
- [email protected]
- Date
- 2016-02-19 02:49:00 -0800 (Fri, 19 Feb 2016)
Log Message
Fix pessimizing-move warnings
https://bugs.webkit.org/show_bug.cgi?id=154395
Reviewed by Michael Catanzaro.
* platform/graphics/efl/CairoUtilitiesEfl.cpp:
(WebCore::evasObjectFromCairoImageSurface):
* platform/graphics/surfaces/GLTransportSurface.cpp:
(WebCore::GLTransportSurface::createTransportSurface):
(WebCore::GLTransportSurfaceClient::createTransportSurfaceClient):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (196810 => 196811)
--- trunk/Source/WebCore/ChangeLog 2016-02-19 10:39:34 UTC (rev 196810)
+++ trunk/Source/WebCore/ChangeLog 2016-02-19 10:49:00 UTC (rev 196811)
@@ -1,3 +1,16 @@
+2016-02-19 Csaba Osztrogonác <[email protected]>
+
+ Fix pessimizing-move warnings
+ https://bugs.webkit.org/show_bug.cgi?id=154395
+
+ Reviewed by Michael Catanzaro.
+
+ * platform/graphics/efl/CairoUtilitiesEfl.cpp:
+ (WebCore::evasObjectFromCairoImageSurface):
+ * platform/graphics/surfaces/GLTransportSurface.cpp:
+ (WebCore::GLTransportSurface::createTransportSurface):
+ (WebCore::GLTransportSurfaceClient::createTransportSurfaceClient):
+
2016-02-19 Philippe Normand <[email protected]>
[GStreamer] clean-up various leaks
Modified: trunk/Source/WebCore/platform/graphics/efl/CairoUtilitiesEfl.cpp (196810 => 196811)
--- trunk/Source/WebCore/platform/graphics/efl/CairoUtilitiesEfl.cpp 2016-02-19 10:39:34 UTC (rev 196810)
+++ trunk/Source/WebCore/platform/graphics/efl/CairoUtilitiesEfl.cpp 2016-02-19 10:49:00 UTC (rev 196811)
@@ -82,7 +82,7 @@
evas_object_image_data_copy_set(image.get(), data);
- return WTFMove(image);
+ return image;
}
PassRefPtr<cairo_surface_t> createSurfaceForBackingStore(Ecore_Evas* ee)
Modified: trunk/Source/WebCore/platform/graphics/surfaces/GLTransportSurface.cpp (196810 => 196811)
--- trunk/Source/WebCore/platform/graphics/surfaces/GLTransportSurface.cpp 2016-02-19 10:39:34 UTC (rev 196810)
+++ trunk/Source/WebCore/platform/graphics/surfaces/GLTransportSurface.cpp 2016-02-19 10:49:00 UTC (rev 196811)
@@ -53,7 +53,7 @@
#endif
if (surface && surface->handle() && surface->drawable())
- return WTFMove(surface);
+ return surface;
return nullptr;
}
@@ -220,7 +220,7 @@
return nullptr;
}
- return WTFMove(client);
+ return client;
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes