Title: [237676] trunk/Source/WebKit
Revision
237676
Author
[email protected]
Date
2018-11-01 03:03:40 -0700 (Thu, 01 Nov 2018)

Log Message

[GLIB] Silent a build warning when not using Wayland

Unreviewed.

* UIProcess/Launcher/glib/BubblewrapLauncher.cpp:

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (237675 => 237676)


--- trunk/Source/WebKit/ChangeLog	2018-11-01 09:27:58 UTC (rev 237675)
+++ trunk/Source/WebKit/ChangeLog	2018-11-01 10:03:40 UTC (rev 237676)
@@ -1,3 +1,11 @@
+2018-11-01  Claudio Saavedra  <[email protected]>
+
+        [GLIB] Silent a build warning when not using Wayland
+
+        Unreviewed.
+
+        * UIProcess/Launcher/glib/BubblewrapLauncher.cpp:
+
 2018-11-01  Frederic Wang  <[email protected]>
 
         [WebAuthN] Make AuthenticatorManager

Modified: trunk/Source/WebKit/UIProcess/Launcher/glib/BubblewrapLauncher.cpp (237675 => 237676)


--- trunk/Source/WebKit/UIProcess/Launcher/glib/BubblewrapLauncher.cpp	2018-11-01 09:27:58 UTC (rev 237675)
+++ trunk/Source/WebKit/UIProcess/Launcher/glib/BubblewrapLauncher.cpp	2018-11-01 10:03:40 UTC (rev 237676)
@@ -324,6 +324,7 @@
     }
 }
 
+#if PLATFORM(WAYLAND) && USE(EGL)
 static void bindWayland(Vector<CString>& args)
 {
     const char* display = g_getenv("WAYLAND_DISPLAY");
@@ -334,6 +335,7 @@
     GUniquePtr<char> waylandRuntimeFile(g_build_filename(runtimeDir, display, nullptr));
     bindIfExists(args, waylandRuntimeFile.get(), BindFlags::ReadWrite);
 }
+#endif
 
 static void bindPulse(Vector<CString>& args)
 {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to