Bug 306172
| Summary: | REGRESSION(304567@main): [WPE] Avoid warning about unhandled enum values with ENABLE_WPE_PLATFORM=OFF | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Adrian Perez <aperez> |
| Component: | WPE WebKit | Assignee: | Adrian Perez <aperez> |
| Status: | ASSIGNED | ||
| Severity: | Normal | CC: | bugs-noreply |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=294347 | ||
Adrian Perez
The build fails with:
/sdk/webkit/Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/AcceleratedSurface.cpp:651:21: error: enumeration values 'Surfaceless' and 'GBM' not handled in switch [-Werror,-Wswitch]
651 | switch (display.type()) {
| ~~~~~~~~^~~~~~
1 error generated.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |