Summary: | Merge cf and mac header files with same name | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Pratik Solanki <psolanki> | ||||
Component: | Page Loading | Assignee: | Pratik Solanki <psolanki> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | psolanki | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | PC | ||||||
OS: | OS X 10.5 | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 51836 | ||||||
Attachments: |
|
Description
Pratik Solanki
2011-01-04 23:16:29 PST
Created attachment 77975 [details]
Patch
Comment on attachment 77975 [details]
Patch
It seems we could cut down the #ifs even further with some typedefs.
(In reply to comment #2) > (From update of attachment 77975 [details]) > It seems we could cut down the #ifs even further with some typedefs. True. I tried it and it was easy to do for the ResourceError class, however for ResourceRequest and ResourceResponse we would also have to merge the member field names from m_nsURLRequest/m_cfURLRequest to m_urlRequest and refactor the code. That's turning out to be a much bigger patch. I'll do that separately from this one. Thanks for the review. Committed r75103: <http://trac.webkit.org/changeset/75103> |