Title: [250077] trunk/Source/WebKit
Revision
250077
Author
[email protected]
Date
2019-09-18 19:34:49 -0700 (Wed, 18 Sep 2019)

Log Message

[GTK] Compilation errors when GL is disabled
https://bugs.webkit.org/show_bug.cgi?id=200223

Fix following compilation error when building with ENABLE_OPENGL=OFF
../../Source/WebKit/UIProcess/glib/WebProcessPoolGLib.cpp:123:51: error: use of undeclared identifier 'WaylandCompositor'
parameters.waylandCompositorDisplayName = WaylandCompositor::singleton().displayName();
                                          ^
Patch by Yury Semikhatsky <[email protected]> on 2019-09-18
Reviewed by Philippe Normand.

* UIProcess/glib/WebProcessPoolGLib.cpp:
(WebKit::WebProcessPool::platformInitializeWebProcess): only make a call when using EGL, this matches
guards in WaylandCompositor.h. The condition was changed in r245807.

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (250076 => 250077)


--- trunk/Source/WebKit/ChangeLog	2019-09-19 01:45:35 UTC (rev 250076)
+++ trunk/Source/WebKit/ChangeLog	2019-09-19 02:34:49 UTC (rev 250077)
@@ -1,3 +1,18 @@
+2019-09-18  Yury Semikhatsky  <[email protected]>
+
+        [GTK] Compilation errors when GL is disabled
+        https://bugs.webkit.org/show_bug.cgi?id=200223
+
+        Fix following compilation error when building with ENABLE_OPENGL=OFF
+        ../../Source/WebKit/UIProcess/glib/WebProcessPoolGLib.cpp:123:51: error: use of undeclared identifier 'WaylandCompositor'
+        parameters.waylandCompositorDisplayName = WaylandCompositor::singleton().displayName();
+                                                  ^
+        Reviewed by Philippe Normand.
+
+        * UIProcess/glib/WebProcessPoolGLib.cpp:
+        (WebKit::WebProcessPool::platformInitializeWebProcess): only make a call when using EGL, this matches
+        guards in WaylandCompositor.h. The condition was changed in r245807.
+
 2019-09-18  Timothy Hatcher  <[email protected]>
 
         Eagerly create and add the m_layerHostingView to WKWebView.

Modified: trunk/Source/WebKit/UIProcess/glib/WebProcessPoolGLib.cpp (250076 => 250077)


--- trunk/Source/WebKit/UIProcess/glib/WebProcessPoolGLib.cpp	2019-09-19 01:45:35 UTC (rev 250076)
+++ trunk/Source/WebKit/UIProcess/glib/WebProcessPoolGLib.cpp	2019-09-19 02:34:49 UTC (rev 250077)
@@ -119,7 +119,7 @@
             parameters.hostClientFileDescriptor = wpe_renderer_host_create_client();
             parameters.implementationLibraryName = FileSystem::fileSystemRepresentation(wpe_loader_get_loaded_implementation_library_name());
         }
-#else
+#elif USE(EGL)
         parameters.waylandCompositorDisplayName = WaylandCompositor::singleton().displayName();
 #endif
     }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to