Changeset 223130 in webkit
- Timestamp:
- Oct 10, 2017 5:47:00 AM (7 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r223129 r223130 1 2017-10-10 Adrian Perez de Castro <aperez@igalia.com> 2 3 [WPE] Build failure due to invalid cast of EGLNativeWindowType when targetting 64-bit ARM 4 https://bugs.webkit.org/show_bug.cgi?id=178090 5 6 Reviewed by Žan Doberšek. 7 8 * WebProcess/WebPage/wpe/AcceleratedSurfaceWPE.cpp: 9 (WebKit::AcceleratedSurfaceWPE::window const): Use static_cast instead of reinterpret_cast, 10 this way extending values of EGLNativeWindowType to 64 bits is allowed. 11 1 12 2017-10-10 Adrian Perez de Castro <aperez@igalia.com> 2 13 -
trunk/Source/WebKit/WebProcess/WebPage/wpe/AcceleratedSurfaceWPE.cpp
r217123 r223130 76 76 { 77 77 ASSERT(m_backend); 78 return reinterpret_cast<uint64_t>(wpe_renderer_backend_egl_target_get_native_window(m_backend)); 78 static_assert(sizeof(EGLNativeWindowType) <= sizeof(uint64_t), "EGLNativeWindowType must not be longer than 64 bits."); 79 return static_cast<uint64_t>(wpe_renderer_backend_egl_target_get_native_window(m_backend)); 79 80 } 80 81
Note: See TracChangeset
for help on using the changeset viewer.