Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(247)

Unified Diff: webkit/pending/NodeFilterCondition.h

Issue 4097: Implement better JS exception handling by abstracting KJS::ExecState into an ... (Closed) Base URL: svn://chrome-svn/chrome/branches/chrome_webkit_merge_branch/
Patch Set: '' Created 12 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/pending/NodeFilter.cpp ('k') | webkit/pending/NodeFilterCondition.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/pending/NodeFilterCondition.h
===================================================================
--- webkit/pending/NodeFilterCondition.h (revision 2614)
+++ webkit/pending/NodeFilterCondition.h (working copy)
@@ -27,22 +27,15 @@
#include <wtf/RefCounted.h>
-#if USE(JSC)
-namespace KJS {
- class ExecState;
-}
-#endif
-
namespace WebCore {
+ class ExceptionContext;
class Node;
class NodeFilterCondition : public RefCounted<NodeFilterCondition> {
public:
virtual ~NodeFilterCondition() { }
-#if USE(JSC)
- virtual short acceptNode(KJS::ExecState*, Node*) const = 0;
-#endif
+ virtual short acceptNode(ExceptionContext*, Node*) const = 0;
virtual void mark() { }
};
« no previous file with comments | « webkit/pending/NodeFilter.cpp ('k') | webkit/pending/NodeFilterCondition.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698