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

Unified Diff: Source/modules/webdatabase/SQLException.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/modules/webdatabase/SQLError.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webdatabase/SQLException.h
diff --git a/Source/modules/webdatabase/SQLException.h b/Source/modules/webdatabase/SQLException.h
index 9b0293790a51154c23bd7ac328f76ec64150671a..65a5d94e20380a263cd16dff4fb607fadcb428af 100644
--- a/Source/modules/webdatabase/SQLException.h
+++ b/Source/modules/webdatabase/SQLException.h
@@ -31,11 +31,12 @@
#ifndef SQLException_h
#define SQLException_h
+#include "bindings/v8/ScriptWrappable.h"
#include "core/dom/ExceptionBase.h"
namespace WebCore {
-class SQLException : public ExceptionBase {
+class SQLException : public ExceptionBase, public ScriptWrappable {
public:
static PassRefPtr<SQLException> create(const ExceptionCodeDescription& description)
{
@@ -62,6 +63,7 @@ private:
explicit SQLException(const ExceptionCodeDescription& description)
: ExceptionBase(description)
{
+ ScriptWrappable::init(this);
}
};
« no previous file with comments | « Source/modules/webdatabase/SQLError.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698