Bug 22737 - Try debug version when locating CFNetwork
Summary: Try debug version when locating CFNetwork
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: All Windows XP
: P2 Normal
Assignee: Alexey Proskuryakov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-08 08:11 PST by Alexey Proskuryakov
Modified: 2008-12-08 10:36 PST (History)
0 users

See Also:


Attachments
proposed patch (3.64 KB, patch)
2008-12-08 08:12 PST, Alexey Proskuryakov
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Proskuryakov 2008-12-08 08:11:10 PST
Code that locates CFNetwork with GetModuleHandleA() should also try CFNetwork_debug.
Comment 1 Alexey Proskuryakov 2008-12-08 08:12:41 PST
Created attachment 25840 [details]
proposed patch
Comment 2 Darin Adler 2008-12-08 10:30:11 PST
Comment on attachment 25840 [details]
proposed patch

Looks good. I'd like it even better if we found a suitable header and put this function there:

    FARPROC findCFNetworkFunction(const char* functionName);

r=me as-is
Comment 3 Alexey Proskuryakov 2008-12-08 10:36:58 PST
Committed revision 39098.