summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/webkit/JavaScriptCore/runtime/NativeErrorPrototype.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rdparty/webkit/JavaScriptCore/runtime/NativeErrorPrototype.h')
-rw-r--r--src/3rdparty/webkit/JavaScriptCore/runtime/NativeErrorPrototype.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/3rdparty/webkit/JavaScriptCore/runtime/NativeErrorPrototype.h b/src/3rdparty/webkit/JavaScriptCore/runtime/NativeErrorPrototype.h
index 48a9d7e..77bfe8a 100644
--- a/src/3rdparty/webkit/JavaScriptCore/runtime/NativeErrorPrototype.h
+++ b/src/3rdparty/webkit/JavaScriptCore/runtime/NativeErrorPrototype.h
@@ -22,19 +22,10 @@
#define NativeErrorPrototype_h
#include "JSObject.h"
-#ifdef QT_BUILD_SCRIPT_LIB
-#include "ErrorInstance.h"
-#endif
namespace JSC {
- class NativeErrorPrototype :
-#ifdef QT_BUILD_SCRIPT_LIB //According to ECMAScript Specification 15.11.7, errors must have the "Error" class
- public ErrorInstance
-#else
- public JSObject
-#endif
- {
+ class NativeErrorPrototype : public JSObject {
public:
NativeErrorPrototype(ExecState*, PassRefPtr<Structure>, const UString& name, const UString& message);
};