Title: [205397] trunk/Source/WebKit2
Revision
205397
Author
[email protected]
Date
2016-09-02 23:04:04 -0700 (Fri, 02 Sep 2016)

Log Message

[GTK] -Wmissing-field-initializers on WaylandCompositor.cpp:295
https://bugs.webkit.org/show_bug.cgi?id=161524

Reviewed by Carlos Garcia Campos.

* UIProcess/gtk/WaylandCompositor.cpp:

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (205396 => 205397)


--- trunk/Source/WebKit2/ChangeLog	2016-09-03 05:52:44 UTC (rev 205396)
+++ trunk/Source/WebKit2/ChangeLog	2016-09-03 06:04:04 UTC (rev 205397)
@@ -1,3 +1,12 @@
+2016-09-02  Michael Catanzaro  <[email protected]>
+
+        [GTK] -Wmissing-field-initializers on WaylandCompositor.cpp:295
+        https://bugs.webkit.org/show_bug.cgi?id=161524
+
+        Reviewed by Carlos Garcia Campos.
+
+        * UIProcess/gtk/WaylandCompositor.cpp:
+
 2016-09-02  Carlos Garcia Campos  <[email protected]>
 
         [Threaded Compositor] Move the viewport controller off the compositing thread

Modified: trunk/Source/WebKit2/UIProcess/gtk/WaylandCompositor.cpp (205396 => 205397)


--- trunk/Source/WebKit2/UIProcess/gtk/WaylandCompositor.cpp	2016-09-03 05:52:44 UTC (rev 205396)
+++ trunk/Source/WebKit2/UIProcess/gtk/WaylandCompositor.cpp	2016-09-03 06:04:04 UTC (rev 205397)
@@ -291,7 +291,11 @@
     // setBufferTransformCallback
     [](struct wl_client*, struct wl_resource*, int32_t) { },
     // setBufferScaleCallback
-    [](struct wl_client*, struct wl_resource*, int32_t) { }
+    [](struct wl_client*, struct wl_resource*, int32_t) { },
+#if WAYLAND_VERSION_MAJOR > 1 || (WAYLAND_VERSION_MAJOR == 1 && WAYLAND_VERSION_MINOR >= 10)
+    // damageBufferCallback
+    [](struct wl_client*, struct wl_resource*, int32_t, int32_t, int32_t, int32_t) { },
+#endif
 };
 
 static const struct wl_compositor_interface compositorInterface = {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to