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

Unified Diff: Source/core/fileapi/FileException.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/fileapi/FileError.h ('k') | Source/core/html/MediaError.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/fileapi/FileException.h
diff --git a/Source/core/fileapi/FileException.h b/Source/core/fileapi/FileException.h
index ea64e7ad56fc17da3d2ba65f4d287b5d910623f0..7e6a95a9c171ac0238acd2d094b236c5d8b2a01c 100644
--- a/Source/core/fileapi/FileException.h
+++ b/Source/core/fileapi/FileException.h
@@ -31,11 +31,12 @@
#ifndef FileException_h
#define FileException_h
+#include "bindings/v8/ScriptWrappable.h"
#include "core/dom/ExceptionBase.h"
namespace WebCore {
-class FileException : public ExceptionBase {
+class FileException : public ExceptionBase, public ScriptWrappable {
public:
static PassRefPtr<FileException> create(const ExceptionCodeDescription& description)
{
@@ -73,6 +74,7 @@ private:
FileException(const ExceptionCodeDescription& description)
: ExceptionBase(description)
{
+ ScriptWrappable::init(this);
}
};
« no previous file with comments | « Source/core/fileapi/FileError.h ('k') | Source/core/html/MediaError.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698