Title: [153779] trunk/Source/WebKit/win
- Revision
- 153779
- Author
- par...@webkit.org
- Date
- 2013-08-07 00:19:47 -0700 (Wed, 07 Aug 2013)
Log Message
Remove dependency on CoreFoundation from WebURLResponse
https://bugs.webkit.org/show_bug.cgi?id=119390
Reviewed by Brent Fulgham.
* WebURLResponse.cpp:
(localizedShortDescriptionForStatusCode):
(WebURLResponse::localizedStringForStatusCode):
Modified Paths
Diff
Modified: trunk/Source/WebKit/win/ChangeLog (153778 => 153779)
--- trunk/Source/WebKit/win/ChangeLog 2013-08-07 04:04:50 UTC (rev 153778)
+++ trunk/Source/WebKit/win/ChangeLog 2013-08-07 07:19:47 UTC (rev 153779)
@@ -1,3 +1,14 @@
+2013-08-07 Patrick Gansterer <par...@webkit.org>
+
+ Remove dependency on CoreFoundation from WebURLResponse
+ https://bugs.webkit.org/show_bug.cgi?id=119390
+
+ Reviewed by Brent Fulgham.
+
+ * WebURLResponse.cpp:
+ (localizedShortDescriptionForStatusCode):
+ (WebURLResponse::localizedStringForStatusCode):
+
2013-08-05 Mark Rowe <mr...@apple.com>
Another Windows release build fix.
Modified: trunk/Source/WebKit/win/WebURLResponse.cpp (153778 => 153779)
--- trunk/Source/WebKit/win/WebURLResponse.cpp 2013-08-07 04:04:50 UTC (rev 153778)
+++ trunk/Source/WebKit/win/WebURLResponse.cpp 2013-08-07 07:19:47 UTC (rev 153779)
@@ -47,7 +47,7 @@
using namespace WebCore;
-static String CFHTTPMessageCopyLocalizedShortDescriptionForStatusCode(CFIndex statusCode)
+static String localizedShortDescriptionForStatusCode(int statusCode)
{
String result;
if (statusCode < 100 || statusCode >= 600)
@@ -372,7 +372,7 @@
ASSERT(m_response.isHTTP());
if (statusString)
*statusString = 0;
- String statusText = CFHTTPMessageCopyLocalizedShortDescriptionForStatusCode(statusCode);
+ const String& statusText = localizedShortDescriptionForStatusCode(statusCode);
if (!statusText)
return E_FAIL;
if (statusString)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes