Title: [230706] trunk/Source/WebCore
Revision
230706
Author
[email protected]
Date
2018-04-17 04:29:26 -0700 (Tue, 17 Apr 2018)

Log Message

[GTK] Build fix after r230529 (WaylandCompositorDisplay leaks its wl_display)
https://bugs.webkit.org/show_bug.cgi?id=184406

Rubber-stamped by Michael Catanzaro.

Fix build with clang 3.8

No new tests, it is a build fix.

* platform/graphics/wayland/PlatformDisplayWayland.cpp:
(WebCore::PlatformDisplayWayland::create):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (230705 => 230706)


--- trunk/Source/WebCore/ChangeLog	2018-04-17 08:41:04 UTC (rev 230705)
+++ trunk/Source/WebCore/ChangeLog	2018-04-17 11:29:26 UTC (rev 230706)
@@ -1,3 +1,17 @@
+2018-04-17  Carlos Alberto Lopez Perez  <[email protected]>
+
+        [GTK] Build fix after r230529 (WaylandCompositorDisplay leaks its wl_display)
+        https://bugs.webkit.org/show_bug.cgi?id=184406
+
+        Rubber-stamped by Michael Catanzaro.
+
+        Fix build with clang 3.8
+
+        No new tests, it is a build fix.
+
+        * platform/graphics/wayland/PlatformDisplayWayland.cpp:
+        (WebCore::PlatformDisplayWayland::create):
+
 2018-04-16  Antoine Quint  <[email protected]>
 
         Layout Test animations/needs-layout.html is a flaky Image Failure.

Modified: trunk/Source/WebCore/platform/graphics/wayland/PlatformDisplayWayland.cpp (230705 => 230706)


--- trunk/Source/WebCore/platform/graphics/wayland/PlatformDisplayWayland.cpp	2018-04-17 08:41:04 UTC (rev 230705)
+++ trunk/Source/WebCore/platform/graphics/wayland/PlatformDisplayWayland.cpp	2018-04-17 11:29:26 UTC (rev 230706)
@@ -58,7 +58,7 @@
 
     auto platformDisplay = std::unique_ptr<PlatformDisplayWayland>(new PlatformDisplayWayland(display, NativeDisplayOwned::Yes));
     platformDisplay->initialize();
-    return platformDisplay;
+    return WTFMove(platformDisplay);
 }
 
 std::unique_ptr<PlatformDisplay> PlatformDisplayWayland::create(struct wl_display* display)
@@ -65,7 +65,7 @@
 {
     auto platformDisplay = std::unique_ptr<PlatformDisplayWayland>(new PlatformDisplayWayland(display, NativeDisplayOwned::No));
     platformDisplay->initialize();
-    return platformDisplay;
+    return WTFMove(platformDisplay);
 }
 
 PlatformDisplayWayland::PlatformDisplayWayland(struct wl_display* display, NativeDisplayOwned displayOwned)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to