Commit 8695b238 authored by beidson's avatar beidson
Browse files

Reviewed by Oliver

        A few platform specific tweaks

        * platform/cf/RetainPtr.h:
        (WebCore::RetainPtr::releaseRef): Fixed releaseRef to work with CF
        
        * platform/network/ResourceHandle.h: Added a "releaseRef" style call


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20231 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 01cbe0c4
2007-03-15 Brady Eidson <beidson@apple.com>
Reviewed by Oliver
A few platform specific tweaks
* platform/cf/RetainPtr.h:
(WebCore::RetainPtr::releaseRef): Fixed releaseRef to work with CF
* platform/network/ResourceHandle.h: Added a "releaseRef" style call
2007-03-15 Maciej Stachowiak <mjs@apple.com>
 
Reviewed by Geoff and Steve.
......
......@@ -73,7 +73,7 @@ namespace WebCore {
PtrType get() const { return m_ptr; }
T* releaseRef() { T* tmp = m_ptr; m_ptr = 0; return tmp; }
PtrType releaseRef() { PtrType tmp = m_ptr; m_ptr = 0; return tmp; }
RefType operator*() const { return *m_ptr; }
PtrType operator->() const { return m_ptr; }
......
......@@ -109,6 +109,7 @@ public:
#elif USE(CFNETWORK)
static CFRunLoopRef loaderRunLoop();
CFURLConnectionRef connection() const;
CFURLConnectionRef releaseConnectionForDownload();
#endif
PassRefPtr<SharedBuffer> bufferedData();
static bool supportsBufferedData();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment