Changeset 252451 in webkit
- Timestamp:
- Nov 13, 2019 10:58:56 PM (4 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r252450 r252451 1 2019-11-13 Nikolas Zimmermann <nzimmermann@igalia.com> 2 3 Fix GTK/WPE builds after enabling POINTER_EVENTS support 4 https://bugs.webkit.org/show_bug.cgi?id=204164 5 6 Reviewed by Žan Doberšek. 7 8 Our g++ 8.3.0 yields "error: call to non-constexpr function 9 WTFReportAssertionFailure" when compiling rendering/EventRegion.cpp 10 since r252366. 11 12 Turn both toTouchAction() / toIndex() into static inline instead of 13 constexpr functions to appease g++ 8.3.0. 14 15 * rendering/EventRegion.cpp: 16 (WebCore::toIndex): 17 (WebCore::toTouchAction): 18 1 19 2019-11-13 Wenson Hsieh <wenson_hsieh@apple.com> 2 20 -
trunk/Source/WebCore/rendering/EventRegion.cpp
r252409 r252451 129 129 #if ENABLE(POINTER_EVENTS) 130 130 131 constexprunsigned toIndex(TouchAction touchAction)131 static inline unsigned toIndex(TouchAction touchAction) 132 132 { 133 133 switch (touchAction) { … … 149 149 } 150 150 151 constexprTouchAction toTouchAction(unsigned index)151 static inline TouchAction toTouchAction(unsigned index) 152 152 { 153 153 switch (index) {
Note: See TracChangeset
for help on using the changeset viewer.