| Summary: | WebResourceLoadDelegatePrivate.h cannot be imported standalone (missing WebNSInteger type) | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Anders Carlsson <andersca> | ||||
| Component: | New Bugs | Assignee: | Anders Carlsson <andersca> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | andersca, darin | ||||
| Priority: | P2 | ||||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=168096 | ||||||
| Attachments: |
|
||||||
|
Description
Anders Carlsson
2015-05-29 15:25:30 PDT
Created attachment 253925 [details]
Patch
Committed r185010: <http://trac.webkit.org/changeset/185010> So the NSInteger typedef comes from the <TargetAvailability.h> header? Seriously? (In reply to comment #3) > So the NSInteger typedef comes from the <TargetAvailability.h> header? > Seriously? No, there is no WebNSInteger typedef. The reason this builds is that nobody ends up defining TARGET_OS_IPHONE (It's actually quite possible that nobody even imports WebResourceLoadDelegatePrivate.h at all) I was asking about NSInteger, not WebNSInteger, but I guess the include is for TARGET_OS_IPHONE? (In reply to comment #5) > I was asking about NSInteger, not WebNSInteger, but I guess the include is > for TARGET_OS_IPHONE? Ah, yes it is. (I didn't want to mess with the includes more than necessary). |