2006-11-14 Darin Adler <darin@apple.com>
[WebKit-https.git] / WebCore / platform / network / ResourceRequest.h
index e56be596a9bf4aaef8d10e034a5a1e3a850df63d..717bdc507c9d64f1c0a6bd7ebd18c42dc3b985bb 100644 (file)
@@ -114,8 +114,7 @@ namespace WebCore {
         String httpAccept() const { return httpHeaderField("Accept"); }
         void setHTTPAccept(const String& httpUserAgent) { setHTTPHeaderField("Accept", httpUserAgent); }
 
-        const PassRefPtr<FormData> httpBody() const { return m_httpBody; }
-        PassRefPtr<FormData> httpBody() { return m_httpBody; }
+        FormData* httpBody() const { return m_httpBody.get(); }
         void setHTTPBody(PassRefPtr<FormData> httpBody) { m_httpBody = httpBody; } 
         
         bool allowHTTPCookies() const { return m_allowHTTPCookies; }