⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 264179 in webkit


Ignore:
Timestamp:
Jul 9, 2020, 10:17:32 AM (6 years ago)
Author:
Lauro Moura
Message:

[GTK] Buildfix when WPEBackend-fdo is not available

Using the && operator for WPE_FDO_CHECK_VERSION was giving the
"missing binary operator before(" error as the macro was not defined
when the backend is not installed, like in the LTS/Debian vanilla
bots.

Unreviewed build fix.

  • UIProcess/gtk/AcceleratedBackingStoreWayland.cpp:

(WebKit::AcceleratedBackingStoreWayland::snapshot):

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r264178 r264179  
     12020-07-09  Lauro Moura  <lmoura@igalia.com>
     2
     3        [GTK] Buildfix when WPEBackend-fdo is not available
     4
     5        Using the && operator for WPE_FDO_CHECK_VERSION was giving the
     6        "missing binary operator before(" error as the macro was not defined
     7        when the backend is not installed, like in the LTS/Debian vanilla
     8        bots.
     9
     10        Unreviewed build fix.
     11
     12        * UIProcess/gtk/AcceleratedBackingStoreWayland.cpp:
     13        (WebKit::AcceleratedBackingStoreWayland::snapshot):
     14
    1152020-07-09  Per Arne Vollan  <pvollan@apple.com>
    216
  • trunk/Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreWayland.cpp

    r264168 r264179  
    529529    }
    530530    case WaylandImpl::SHM:
    531 #if USE(WPE_RENDERER) && WPE_FDO_CHECK_VERSION(1, 7, 0)
     531#if USE(WPE_RENDERER)
     532#if WPE_FDO_CHECK_VERSION(1, 7, 0)
    532533        if (m_shm.pendingFrame) {
    533534            wpe_view_backend_exportable_fdo_dispatch_frame_complete(m_exportable);
    … …  
    538539            return;
    539540        break;
     541#else
     542        FALLTHROUGH;
     543#endif // WPE_FDO_CHECK_VERSION
    540544#else
    541545        FALLTHROUGH;
Note: See TracChangeset for help on using the changeset viewer.