summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/webkit/WebCore/generated/JSSVGRenderingIntent.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rdparty/webkit/WebCore/generated/JSSVGRenderingIntent.h')
-rw-r--r--src/3rdparty/webkit/WebCore/generated/JSSVGRenderingIntent.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/3rdparty/webkit/WebCore/generated/JSSVGRenderingIntent.h b/src/3rdparty/webkit/WebCore/generated/JSSVGRenderingIntent.h
index 22aff9cdf..8dad637ef 100644
--- a/src/3rdparty/webkit/WebCore/generated/JSSVGRenderingIntent.h
+++ b/src/3rdparty/webkit/WebCore/generated/JSSVGRenderingIntent.h
@@ -23,6 +23,7 @@
#if ENABLE(SVG)
+#include "DOMObjectWithSVGContext.h"
#include "JSDOMBinding.h"
#include "SVGElement.h"
#include <runtime/JSGlobalObject.h>
@@ -32,10 +33,10 @@ namespace WebCore {
class SVGRenderingIntent;
-class JSSVGRenderingIntent : public DOMObject {
- typedef DOMObject Base;
+class JSSVGRenderingIntent : public DOMObjectWithSVGContext {
+ typedef DOMObjectWithSVGContext Base;
public:
- JSSVGRenderingIntent(PassRefPtr<JSC::Structure>, PassRefPtr<SVGRenderingIntent>, SVGElement* context);
+ JSSVGRenderingIntent(PassRefPtr<JSC::Structure>, JSDOMGlobalObject*, PassRefPtr<SVGRenderingIntent>, SVGElement* context);
virtual ~JSSVGRenderingIntent();
static JSC::JSObject* createPrototype(JSC::ExecState*, JSC::JSGlobalObject*);
virtual bool getOwnPropertySlot(JSC::ExecState*, const JSC::Identifier& propertyName, JSC::PropertySlot&);
@@ -47,16 +48,14 @@ public:
return JSC::Structure::create(prototype, JSC::TypeInfo(JSC::ObjectType));
}
- static JSC::JSValue getConstructor(JSC::ExecState*);
+ static JSC::JSValue getConstructor(JSC::ExecState*, JSC::JSGlobalObject*);
SVGRenderingIntent* impl() const { return m_impl.get(); }
- SVGElement* context() const { return m_context.get(); }
private:
- RefPtr<SVGElement> m_context;
- RefPtr<SVGRenderingIntent > m_impl;
+ RefPtr<SVGRenderingIntent> m_impl;
};
-JSC::JSValue toJS(JSC::ExecState*, SVGRenderingIntent*, SVGElement* context);
+JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, SVGRenderingIntent*, SVGElement* context);
SVGRenderingIntent* toSVGRenderingIntent(JSC::JSValue);
class JSSVGRenderingIntentPrototype : public JSC::JSObject {