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

Unified Diff: Source/core/svg/SVGException.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/html/MediaKeyError.h ('k') | Source/core/xml/XPathException.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGException.h
diff --git a/Source/core/svg/SVGException.h b/Source/core/svg/SVGException.h
index 26a33e6f1f528c8a0cd7f68594036e8172f491b3..86169e65ad7c5ba1520ed6b609cb017cad7f8f49 100644
--- a/Source/core/svg/SVGException.h
+++ b/Source/core/svg/SVGException.h
@@ -21,11 +21,12 @@
#ifndef SVGException_h
#define SVGException_h
+#include "bindings/v8/ScriptWrappable.h"
#include "core/dom/ExceptionBase.h"
namespace WebCore {
-class SVGException : public ExceptionBase {
+class SVGException : public ExceptionBase, public ScriptWrappable {
public:
static PassRefPtr<SVGException> create(const ExceptionCodeDescription& description)
{
@@ -47,6 +48,7 @@ private:
SVGException(const ExceptionCodeDescription& description)
: ExceptionBase(description)
{
+ ScriptWrappable::init(this);
}
};
« no previous file with comments | « Source/core/html/MediaKeyError.h ('k') | Source/core/xml/XPathException.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698