Changeset 252402 in webkit
- Timestamp:
- Nov 13, 2019, 4:31:54 AM (7 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
rendering/EventRegion.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r252399 r252402 1 2019-11-13 Nikolas Zimmermann <nzimmermann@igalia.com> 2 3 Unreviewed, fix GTK/WPE builds after enabling POINTER_EVENTS support. 4 5 Our g++ 8.3.0 yields "error: call to non-constexpr function 6 WTFReportAssertionFailure" when compiling rendering/EventRegion.cpp 7 since r252366. 8 9 Simply remove the ASSERT_NOT_REACHED() from toIndex(): a missing value 10 in the switch statement will be caught by compiler warnings. Remove the 11 constexpr flag from toTouchAction(): in this case, the 12 ASSERT_NOT_REACHED() is useful and should stay. 13 14 Rubber-stamped by Philippe Normand. 15 16 * rendering/EventRegion.cpp: 17 (WebCore::toIndex): Remove call to ASSERT_NOT_REACHED(). 18 (WebCore::toTouchAction): Keep ASSERT_NOT_REACHED(), removed constexpr. 19 1 20 2019-11-13 Philippe Normand <pnormand@igalia.com> 2 21 -
trunk/Source/WebCore/rendering/EventRegion.cpp
r248604 r252402 145 145 break; 146 146 } 147 ASSERT_NOT_REACHED();148 147 return 0; 149 148 } 150 149 151 constexprTouchAction toTouchAction(unsigned index)150 TouchAction toTouchAction(unsigned index) 152 151 { 153 152 switch (index) {
Note:
See TracChangeset
for help on using the changeset viewer.