Reviewed by Maciej Stachowiak.
authorggaren <ggaren@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 11 Nov 2006 18:36:23 +0000 (18:36 +0000)
committerggaren <ggaren@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 11 Nov 2006 18:36:23 +0000 (18:36 +0000)
        Added missing initializer to ResourceRequest -- fixes some loader crashes
        due to assuming a request always has a non-null httpMethod.

        * platform/network/ResourceRequest.h:
        (WebCore::ResourceRequest::ResourceRequest):

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

WebCore/ChangeLog
WebCore/platform/network/ResourceRequest.h

index 6df687755266a99446ecdc36f331bb1f2a3ece73..9628df79b1734f60739fc88643793d7a3b1171ff 100644 (file)
@@ -1,3 +1,13 @@
+2006-11-11  Geoffrey Garen  <ggaren@apple.com>
+
+        Reviewed by Maciej Stachowiak.
+        
+        Added missing initializer to ResourceRequest -- fixes some loader crashes
+        due to assuming a request always has a non-null httpMethod.
+
+        * platform/network/ResourceRequest.h:
+        (WebCore::ResourceRequest::ResourceRequest):
+
 2006-11-11  Brady Eidson <beidson@apple.com>
 
         Reviewed by Maciej
 2006-11-11  Brady Eidson <beidson@apple.com>
 
         Reviewed by Maciej
index 837d3fbb4b712cd441637b855a605e1572285019..340950c98e5f3a55c69ff6099f0614f2e9b146d4 100644 (file)
@@ -74,6 +74,7 @@ namespace WebCore {
         ResourceRequest()
             : m_cachePolicy(UseProtocolCachePolicy)
             , m_timeoutInterval(defaultTimeoutInterval)
         ResourceRequest()
             : m_cachePolicy(UseProtocolCachePolicy)
             , m_timeoutInterval(defaultTimeoutInterval)
+            , m_httpMethod("GET")
             , m_allowHTTPCookies(true)
         {
         }
             , m_allowHTTPCookies(true)
         {
         }