Changeset 242345 in webkit
- Timestamp:
- Mar 4, 2019, 1:21:45 AM (7 years ago)
- Location:
- releases/WebKitGTK/webkit-2.24/Tools
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
wpe/backends/WindowViewBackend.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
releases/WebKitGTK/webkit-2.24/Tools/ChangeLog
r242163 r242345 1 2019-03-04 Charlie Turner <cturner@igalia.com> 2 3 [WPE] Inline wl_array_for_each to workaround C++ compatibility issue 4 https://bugs.webkit.org/show_bug.cgi?id=194898 5 6 Reviewed by Žan Doberšek. 7 8 * wpe/backends/WindowViewBackend.cpp: wl_array_for_each relies on 9 a GCC extension that permits arithmetic on void* pointer. Inline 10 the macro until this issue is fixed upstream. 11 1 12 2019-02-25 Adrian Perez de Castro <aperez@igalia.com> 2 13 -
releases/WebKitGTK/webkit-2.24/Tools/wpe/backends/WindowViewBackend.cpp
r242163 r242345 441 441 442 442 bool isFocused = false; 443 void* p; 444 wl_array_for_each(p, states) 445 { 446 uint32_t state = *static_cast<uint32_t*>(p); 443 // FIXME: It would be nice if the following loop could use 444 // wl_array_for_each, but at the time of writing it relies on 445 // GCC specific extension to work properly: 446 // https://gitlab.freedesktop.org/wayland/wayland/issues/34 447 uint32_t* pos = static_cast<uint32_t*>(states->data); 448 uint32_t* end = static_cast<uint32_t*>(states->data) + states->size; 449 450 for (; pos < end; pos++) { 451 uint32_t state = *pos; 447 452 448 453 switch (state) {
Note:
See TracChangeset
for help on using the changeset viewer.