summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/WebKit/Source/core/xml/XPathNSResolver.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/WebKit/Source/core/xml/XPathNSResolver.h')
-rw-r--r--chromium/third_party/WebKit/Source/core/xml/XPathNSResolver.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/chromium/third_party/WebKit/Source/core/xml/XPathNSResolver.h b/chromium/third_party/WebKit/Source/core/xml/XPathNSResolver.h
index fc761f6459e..10768325968 100644
--- a/chromium/third_party/WebKit/Source/core/xml/XPathNSResolver.h
+++ b/chromium/third_party/WebKit/Source/core/xml/XPathNSResolver.h
@@ -28,16 +28,19 @@
#define XPathNSResolver_h
#include "bindings/v8/ScriptWrappable.h"
+#include "platform/heap/Handle.h"
#include "wtf/Forward.h"
#include "wtf/RefCounted.h"
namespace WebCore {
-class XPathNSResolver : public RefCounted<XPathNSResolver>, public ScriptWrappable {
+class XPathNSResolver : public RefCountedWillBeGarbageCollectedFinalized<XPathNSResolver>, public ScriptWrappable {
public:
virtual ~XPathNSResolver();
virtual AtomicString lookupNamespaceURI(const String& prefix) = 0;
+ virtual void trace(Visitor*) { }
+
protected:
XPathNSResolver()
{