Commit 5e352844 authored by andersca@apple.com's avatar andersca@apple.com

Fix Windows build.

* platform/network/cf/ResourceRequestCFNet.cpp:
(WebCore::setHeaderFields):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132863 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent a58e3808
2012-10-29 Anders Carlsson <andersca@apple.com>
Fix Windows build.
* platform/network/cf/ResourceRequestCFNet.cpp:
(WebCore::setHeaderFields):
2012-10-28 Mark Rowe <mrowe@apple.com>
Simplify Xcode configuration settings that used to vary between OS versions.
......@@ -120,7 +120,7 @@ static inline void setHeaderFields(CFMutableURLRequestRef request, const HTTPHea
HTTPHeaderMap::const_iterator end = requestHeaders.end();
for (HTTPHeaderMap::const_iterator it = requestHeaders.begin(); it != end; ++it) {
CFStringRef key = it->key.createCFString();
CFStringRef key = it->key.string().createCFString();
CFStringRef value = it->value.createCFString();
CFURLRequestSetHTTPHeaderFieldValue(request, key, value);
CFRelease(key);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment