Reviewed by Adam
Whoops, RetainPtr should be in the WTF namespace
* wtf/RetainPtr.h:
WebKit:
Reviewed by Adam
RetainPtr is no longer in the WebCore namespace
* History/WebBackForwardList.mm:
* WebCoreSupport/WebEditorClient.h:
* WebCoreSupport/WebFrameLoaderClient.h:
* WebView/WebDocumentLoaderMac.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@20476
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2007-03-24 Brady Eidson <beidson@apple.com>
+
+ Reviewed by Adam
+
+ Whoops, RetainPtr should be in the WTF namespace
+
+ * wtf/RetainPtr.h:
+
2007-03-24 Brady Eidson <beidson@apple.com>
Reviewed by Adam
65162EF108E6A21C007556CD /* wtf */ = {
isa = PBXGroup;
children = (
- 51F648D60BB4E2CA0033D760 /* RetainPtr.h */,
E195678D09E7CF1200B89D13 /* unicode */,
93AA4F770957251F0084B3A7 /* AlwaysInline.h */,
65E217B808E7EECC0023E5F6 /* Assertions.cpp */,
6580F795094070560082C219 /* PassRefPtr.h */,
65D6D87E09B5A32E0002E4D7 /* Platform.h */,
65C647B3093EF8D60022C380 /* RefPtr.h */,
+ 51F648D60BB4E2CA0033D760 /* RetainPtr.h */,
E11D51750B2E798D0056C188 /* StringExtras.h */,
6541BD6E08E80A17002CBEE7 /* TCPageMap.h */,
6541BD6F08E80A17002CBEE7 /* TCSpinLock.h */,
#include <algorithm>
#include <CoreFoundation/CoreFoundation.h>
-namespace WebCore {
+namespace WTF {
template <typename T> struct RemovePointer {
typedef T type;
return a != b.get();
}
-}
+} // namespace WTF
-#endif // RetainPtr_h
+using WTF::AdoptCF;
+using WTF::AdoptNS;
+using WTF::RetainPtr;
+
+#endif // WTF_RetainPtr_h
+2007-03-24 Brady Eidson <beidson@apple.com>
+
+ Reviewed by Adam
+
+ RetainPtr is no longer in the WebCore namespace
+
+ * History/WebBackForwardList.mm:
+ * WebCoreSupport/WebEditorClient.h:
+ * WebCoreSupport/WebFrameLoaderClient.h:
+ * WebView/WebDocumentLoaderMac.h:
+
2007-03-24 Brady Eidson <beidson@apple.com>
Reviewed by Adam
using WebCore::BackForwardList;
using WebCore::HistoryItem;
using WebCore::HistoryItemVector;
-using WebCore::RetainPtr;
static inline WebBackForwardListPrivate* kitPrivate(BackForwardList* list) { return (WebBackForwardListPrivate*)list; }
static inline BackForwardList* core(WebBackForwardListPrivate* list) { return (BackForwardList*)list; }
WebEditorClient();
WebView *m_webView;
- WebCore::RetainPtr<WebEditorUndoTarget> m_undoTarget;
+ RetainPtr<WebEditorUndoTarget> m_undoTarget;
bool m_haveUndoRedoOperations;
};
class ResourceRequest;
}
-typedef HashMap<RefPtr<WebCore::ResourceLoader>, WebCore::RetainPtr<WebResource> > ResourceMap;
+typedef HashMap<RefPtr<WebCore::ResourceLoader>, RetainPtr<WebResource> > ResourceMap;
class WebFrameLoaderClient : public WebCore::FrameLoaderClient {
public:
bool canUseArchivedResource(NSURLResponse *) const;
void deliverArchivedResources(WebCore::Timer<WebFrameLoaderClient>*);
- WebCore::RetainPtr<WebFramePolicyListener> setUpPolicyListener(WebCore::FramePolicyFunction);
+ RetainPtr<WebFramePolicyListener> setUpPolicyListener(WebCore::FramePolicyFunction);
NSDictionary *actionDictionary(const WebCore::NavigationAction&) const;
virtual bool canCachePage() const;
- WebCore::RetainPtr<WebFrame> m_webFrame;
+ RetainPtr<WebFrame> m_webFrame;
- WebCore::RetainPtr<WebFramePolicyListener> m_policyListener;
+ RetainPtr<WebFramePolicyListener> m_policyListener;
WebCore::FramePolicyFunction m_policyFunction;
mutable ResourceMap m_pendingArchivedResources;
void decreaseLoadCount(unsigned long identifier);
private:
WebDataSource *m_dataSource;
- WebCore::RetainPtr<id> m_resourceLoadDelegate;
- WebCore::RetainPtr<id> m_downloadDelegate;
+ RetainPtr<id> m_resourceLoadDelegate;
+ RetainPtr<id> m_downloadDelegate;
bool m_hasEverBeenDetached;
HashSet<unsigned long> m_loadingResources;
};