2006-10-12 MorganL <morganl.webkit@yahoo.com>
authoraroben <aroben@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 12 Oct 2006 18:34:52 +0000 (18:34 +0000)
committeraroben <aroben@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 12 Oct 2006 18:34:52 +0000 (18:34 +0000)
        Reviewed/landed by Adam.

        Fixes http://bugs.webkit.org/show_bug.cgi?id=11264
        Windows build busted

        * COM/WebFrame.cpp:
        (WebFrame::receivedResponse):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@17011 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKit/COM/WebFrame.cpp
WebKit/ChangeLog

index c40d8904856c90110109e8b7610d59311a57aa81..0769e86eb22fe8e1a17d088d0296868063f09426 100644 (file)
@@ -506,10 +506,8 @@ void WebFrame::receivedResponse(ResourceLoader* job, PlatformResponse)
     KURL kurl(DeprecatedString((DeprecatedChar*)url, SysStringLen(url)));
     SysFreeString(url);
 
-    // Update MIME info
-    ResourceRequest r(d->frame->resourceRequest());    
-    r.m_responseMIMEType = "text/html";  // FIXME: get from PlatformResponse
-    d->frame->setResourceRequest(r);
+    // Update MIME info (FIXME: get from PlatformResponse)
+    d->frame->setResponseMIMEType(String(L"text/html"));
 
     d->frame->begin(kurl);
 
index e47562c12a1434f340ef6bd2073580e06e06f579..dda7df2d877f66794cffe02ef61d50498e249ef2 100644 (file)
@@ -1,3 +1,13 @@
+2006-10-12  MorganL  <morganl.webkit@yahoo.com>
+
+        Reviewed/landed by Adam.
+
+        Fixes http://bugs.webkit.org/show_bug.cgi?id=11264
+        Windows build busted
+
+        * COM/WebFrame.cpp:
+        (WebFrame::receivedResponse):
+
 2006-10-11  Darin Adler  <darin@apple.com>
 
         Reviewed by Adele.