Changeset 230706 in webkit


Ignore:
Timestamp:
Apr 17, 2018 4:29:26 AM (6 years ago)
Author:
clopez@igalia.com
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):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r230703 r230706  
     12018-04-17  Carlos Alberto Lopez Perez  <clopez@igalia.com>
     2
     3        [GTK] Build fix after r230529 (WaylandCompositorDisplay leaks its wl_display)
     4        https://bugs.webkit.org/show_bug.cgi?id=184406
     5
     6        Rubber-stamped by Michael Catanzaro.
     7
     8        Fix build with clang 3.8
     9
     10        No new tests, it is a build fix.
     11
     12        * platform/graphics/wayland/PlatformDisplayWayland.cpp:
     13        (WebCore::PlatformDisplayWayland::create):
     14
    1152018-04-16  Antoine Quint  <graouts@apple.com>
    216
  • trunk/Source/WebCore/platform/graphics/wayland/PlatformDisplayWayland.cpp

    r230529 r230706  
    5959    auto platformDisplay = std::unique_ptr<PlatformDisplayWayland>(new PlatformDisplayWayland(display, NativeDisplayOwned::Yes));
    6060    platformDisplay->initialize();
    61     return platformDisplay;
     61    return WTFMove(platformDisplay);
    6262}
    6363
     
    6666    auto platformDisplay = std::unique_ptr<PlatformDisplayWayland>(new PlatformDisplayWayland(display, NativeDisplayOwned::No));
    6767    platformDisplay->initialize();
    68     return platformDisplay;
     68    return WTFMove(platformDisplay);
    6969}
    7070
Note: See TracChangeset for help on using the changeset viewer.