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

Unified Diff: Source/core/xml/XPathException.h

Issue 15605003: Make Exception and Error objects ScriptWrappable. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 7 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 | « Source/core/svg/SVGException.h ('k') | Source/modules/geolocation/PositionError.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/xml/XPathException.h
diff --git a/Source/core/xml/XPathException.h b/Source/core/xml/XPathException.h
index 543fff083f8e12a48fccf0b506cf779bfa0d2dcf..134086e93c862ec545c7d6dc82f3d14858d6a0f6 100644
--- a/Source/core/xml/XPathException.h
+++ b/Source/core/xml/XPathException.h
@@ -29,11 +29,12 @@
#ifndef XPathException_h
#define XPathException_h
+#include "bindings/v8/ScriptWrappable.h"
#include "core/dom/ExceptionBase.h"
namespace WebCore {
-class XPathException : public ExceptionBase {
+class XPathException : public ExceptionBase, public ScriptWrappable {
public:
static PassRefPtr<XPathException> create(const ExceptionCodeDescription& description)
{
@@ -54,6 +55,7 @@ private:
explicit XPathException(const ExceptionCodeDescription& description)
: ExceptionBase(description)
{
+ ScriptWrappable::init(this);
}
};
« no previous file with comments | « Source/core/svg/SVGException.h ('k') | Source/modules/geolocation/PositionError.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698