diff options
Diffstat (limited to 'src/3rdparty/webkit/WebCore/generated/JSCanvasGradient.h')
-rw-r--r-- | src/3rdparty/webkit/WebCore/generated/JSCanvasGradient.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/3rdparty/webkit/WebCore/generated/JSCanvasGradient.h b/src/3rdparty/webkit/WebCore/generated/JSCanvasGradient.h index 0fc34b0..e81a3b4 100644 --- a/src/3rdparty/webkit/WebCore/generated/JSCanvasGradient.h +++ b/src/3rdparty/webkit/WebCore/generated/JSCanvasGradient.h @@ -34,7 +34,7 @@ class JSCanvasGradient : public DOMObject { public: JSCanvasGradient(PassRefPtr<JSC::Structure>, PassRefPtr<CanvasGradient>); virtual ~JSCanvasGradient(); - static JSC::JSObject* createPrototype(JSC::ExecState*); + static JSC::JSObject* createPrototype(JSC::ExecState*, JSC::JSGlobalObject*); virtual const JSC::ClassInfo* classInfo() const { return &s_info; } static const JSC::ClassInfo s_info; @@ -44,16 +44,17 @@ private: RefPtr<CanvasGradient> m_impl; }; -JSC::JSValuePtr toJS(JSC::ExecState*, CanvasGradient*); -CanvasGradient* toCanvasGradient(JSC::JSValuePtr); +JSC::JSValue toJS(JSC::ExecState*, CanvasGradient*); +CanvasGradient* toCanvasGradient(JSC::JSValue); class JSCanvasGradientPrototype : public JSC::JSObject { + typedef JSC::JSObject Base; public: - static JSC::JSObject* self(JSC::ExecState*); + static JSC::JSObject* self(JSC::ExecState*, JSC::JSGlobalObject*); virtual const JSC::ClassInfo* classInfo() const { return &s_info; } static const JSC::ClassInfo s_info; virtual bool getOwnPropertySlot(JSC::ExecState*, const JSC::Identifier&, JSC::PropertySlot&); - static PassRefPtr<JSC::Structure> createStructure(JSC::JSValuePtr prototype) + static PassRefPtr<JSC::Structure> createStructure(JSC::JSValue prototype) { return JSC::Structure::create(prototype, JSC::TypeInfo(JSC::ObjectType)); } @@ -62,7 +63,7 @@ public: // Functions -JSC::JSValuePtr jsCanvasGradientPrototypeFunctionAddColorStop(JSC::ExecState*, JSC::JSObject*, JSC::JSValuePtr, const JSC::ArgList&); +JSC::JSValue JSC_HOST_CALL jsCanvasGradientPrototypeFunctionAddColorStop(JSC::ExecState*, JSC::JSObject*, JSC::JSValue, const JSC::ArgList&); } // namespace WebCore |