summaryrefslogtreecommitdiffstats
path: root/WebCore/bindings/objc/DOMCustomXPathNSResolver.h
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2008-10-21 07:00:00 -0700
committerThe Android Open Source Project <initial-contribution@android.com>2008-10-21 07:00:00 -0700
commit9364f22aed35e1a1e9d07c121510f80be3ab0502 (patch)
treed49911209b132da58d838efa852daf28d516df21 /WebCore/bindings/objc/DOMCustomXPathNSResolver.h
parent87eb0cb35bad8784770ebc807e6c982432e47107 (diff)
downloadexternal_webkit-9364f22aed35e1a1e9d07c121510f80be3ab0502.zip
external_webkit-9364f22aed35e1a1e9d07c121510f80be3ab0502.tar.gz
external_webkit-9364f22aed35e1a1e9d07c121510f80be3ab0502.tar.bz2
Initial Contribution
Diffstat (limited to 'WebCore/bindings/objc/DOMCustomXPathNSResolver.h')
-rw-r--r--WebCore/bindings/objc/DOMCustomXPathNSResolver.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/WebCore/bindings/objc/DOMCustomXPathNSResolver.h b/WebCore/bindings/objc/DOMCustomXPathNSResolver.h
index 2609e90..47cd939 100644
--- a/WebCore/bindings/objc/DOMCustomXPathNSResolver.h
+++ b/WebCore/bindings/objc/DOMCustomXPathNSResolver.h
@@ -31,7 +31,6 @@
#include "XPathNSResolver.h"
#include "DOMXPathNSResolver.h"
-#include <wtf/PassRefPtr.h>
namespace WebCore {
@@ -39,14 +38,13 @@ namespace WebCore {
class DOMCustomXPathNSResolver : public XPathNSResolver {
public:
- static PassRefPtr<DOMCustomXPathNSResolver> create(id <DOMXPathNSResolver> customResolver) { return adoptRef(new DOMCustomXPathNSResolver(customResolver)); }
+ DOMCustomXPathNSResolver(id <DOMXPathNSResolver>);
virtual ~DOMCustomXPathNSResolver();
virtual String lookupNamespaceURI(const String& prefix);
private:
- DOMCustomXPathNSResolver(id <DOMXPathNSResolver>);
- id <DOMXPathNSResolver> m_customResolver; // DOMCustomXPathNSResolvers are always temporary, thus no need to GC protect the object.
+ id <DOMXPathNSResolver> m_customResolver; // DOMCustomXPathNSResolvers are always temporary, thus no need to GC protect the object.
};
} // namespace WebCore