Bug 252143
| Summary: | Fix TestWebKitAPI build when including WKFeature.h | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | David Kilzer (:ddkilzer) <ddkilzer> |
| Component: | WebKit2 | Assignee: | David Kilzer (:ddkilzer) <ddkilzer> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | kkinnunen, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
David Kilzer (:ddkilzer)
Fix TestWebKitAPI build when including WKFeature.h.
Seen in these EWS builds:
<https://ews-build.webkit.org/#/builders/43/builds/40334>
<https://ews-build.webkit.org/#/builders/85/builds/7733>
```
In file included from /Volumes/Data/worker/macOS-BigSur-Release-Build-EWS/build/Tools/TestWebKitAPI/mac/SyntheticBackingScaleFactorWindow.m:26:
In file included from /Volumes/Data/worker/macOS-BigSur-Release-Build-EWS/build/Tools/TestWebKitAPI/config.h:69:
In file included from /Volumes/Data/worker/macOS-BigSur-Release-Build-EWS/build/WebKitBuild/Release/WebKit.framework/PrivateHeaders/WebKit2_C.h:40:
/Volumes/Data/worker/macOS-BigSur-Release-Build-EWS/build/WebKitBuild/Release/WebKit.framework/PrivateHeaders/WKFeature.h:34:38: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes]
WK_EXPORT WKTypeID WKFeatureGetTypeID();
^
void
1 error generated.
```
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/105373344>
David Kilzer (:ddkilzer)
Pull request: https://github.com/WebKit/WebKit/pull/10008
EWS
Committed 260176@main (be80c071ab73): <https://commits.webkit.org/260176@main>
Reviewed commits have been landed. Closing PR #10008 and removing active labels.