RESOLVED FIXED 115683
Remove some unnecessary soft linking in NetworkProcess
https://bugs.webkit.org/show_bug.cgi?id=115683
Summary Remove some unnecessary soft linking in NetworkProcess
Brady Eidson
Reported 2013-05-06 16:52:48 PDT
Remove some unnecessary soft linking in NetworkProcess. These can be replaced with forward declarations. Some of theIn radar <rdar://problem/13821779>
Attachments
Patch v1 (5.45 KB, patch)
2013-05-06 16:55 PDT, Brady Eidson
sam: review+
Patch v2 - Include headers when available, and fix a bug 149651 introduced. (3.06 KB, patch)
2013-05-07 09:27 PDT, Brady Eidson
dino: review+
Brady Eidson
Comment 1 2013-05-06 16:55:59 PDT
Created attachment 200856 [details] Patch v1
Brady Eidson
Comment 2 2013-05-06 17:04:39 PDT
Alexey Proskuryakov
Comment 3 2013-05-06 20:17:56 PDT
One thing we are trying to do more now is conditionally include internal headers. That way, compiler will tell us if prototypes change in the future.
Brady Eidson
Comment 4 2013-05-07 08:59:50 PDT
(In reply to comment #3) > One thing we are trying to do more now is conditionally include internal headers. That way, compiler will tell us if prototypes change in the future. Yes, Mark mentioned this to use last night. It appears that it's been done in precisely two locations, and you were the first back in February - Should've shared it with us then! :)
Brady Eidson
Comment 5 2013-05-07 09:24:06 PDT
...and doing this revealed a terrible bug with last nights patch - The exact type of bug this trick is meant to catch! Followup coming...
Brady Eidson
Comment 6 2013-05-07 09:27:48 PDT
Created attachment 200917 [details] Patch v2 - Include headers when available, and fix a bug 149651 introduced.
Andreas Kling
Comment 7 2013-05-07 10:06:46 PDT
Comment on attachment 200917 [details] Patch v2 - Include headers when available, and fix a bug 149651 introduced. I'm here for the owner sign-off!
Brady Eidson
Comment 8 2013-05-07 10:09:50 PDT
Note You need to log in before you can comment on or make changes to this bug.