Index: webkit/pending/Node.h |
=================================================================== |
--- webkit/pending/Node.h (revision 2614) |
+++ webkit/pending/Node.h (working copy) |
@@ -56,6 +56,7 @@ |
class RenderObject; |
class RenderStyle; |
class StringBuilder; |
+class ExceptionContext; |
struct NodeListsNodeData; |
@@ -480,15 +481,12 @@ |
PassRefPtr<NodeList> getElementsByName(const String& elementName); |
PassRefPtr<NodeList> getElementsByClassName(const String& classNames); |
-#if USE(JSC) |
- PassRefPtr<Element> querySelector(const String& selectors, NSResolver*, ExceptionCode&, KJS::ExecState*); |
- PassRefPtr<NodeList> querySelectorAll(const String& selectors, NSResolver*, ExceptionCode&, KJS::ExecState*); |
- |
+ PassRefPtr<Element> querySelector(const String& selectors, NSResolver*, ExceptionCode&, ExceptionContext*); |
+ PassRefPtr<NodeList> querySelectorAll(const String& selectors, NSResolver*, ExceptionCode&, ExceptionContext*); |
// For non-JS bindings. Silently ignores the JavaScript exception if any. |
// FIXME: We should support the NSResolver interface for non-JS bindings. |
PassRefPtr<Element> querySelector(const String& selectors, ExceptionCode&); |
PassRefPtr<NodeList> querySelectorAll(const String& selectors, ExceptionCode&); |
-#endif |
unsigned short compareDocumentPosition(Node*); |