Title: [93648] trunk/Source/WebCore
Revision
93648
Author
[email protected]
Date
2011-08-23 16:05:10 -0700 (Tue, 23 Aug 2011)

Log Message

ResourceRequest::setStorageSession should update NSURLRequest as well
https://bugs.webkit.org/show_bug.cgi?id=66811

Reviewed by Darin Adler.

* platform/network/cf/ResourceRequestCFNet.cpp:
(WebCore::ResourceRequest::setStorageSession): Update the m_nsRequest field as well since we
have a new CFURLRequestRef.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (93647 => 93648)


--- trunk/Source/WebCore/ChangeLog	2011-08-23 23:01:08 UTC (rev 93647)
+++ trunk/Source/WebCore/ChangeLog	2011-08-23 23:05:10 UTC (rev 93648)
@@ -1,3 +1,14 @@
+2011-08-23  Pratik Solanki  <[email protected]>
+
+        ResourceRequest::setStorageSession should update NSURLRequest as well
+        https://bugs.webkit.org/show_bug.cgi?id=66811
+
+        Reviewed by Darin Adler.
+
+        * platform/network/cf/ResourceRequestCFNet.cpp:
+        (WebCore::ResourceRequest::setStorageSession): Update the m_nsRequest field as well since we
+        have a new CFURLRequestRef.
+
 2011-08-23  James Robinson  <[email protected]>
 
         [chromium] Remove obsolete child context list from LayerRendererChromium

Modified: trunk/Source/WebCore/platform/network/cf/ResourceRequestCFNet.cpp (93647 => 93648)


--- trunk/Source/WebCore/platform/network/cf/ResourceRequestCFNet.cpp	2011-08-23 23:01:08 UTC (rev 93647)
+++ trunk/Source/WebCore/platform/network/cf/ResourceRequestCFNet.cpp	2011-08-23 23:05:10 UTC (rev 93648)
@@ -233,6 +233,9 @@
     CFMutableURLRequestRef cfRequest = CFURLRequestCreateMutableCopy(0, m_cfRequest.get());
     wkSetRequestStorageSession(storageSession, cfRequest);
     m_cfRequest.adoptCF(cfRequest);
+#if PLATFORM(MAC)
+    updateNSURLRequest();
+#endif
 }
 
 #endif
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to