summaryrefslogtreecommitdiffstats
path: root/WebCore/bridge/jsc/BridgeJSC.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/bridge/jsc/BridgeJSC.h')
-rw-r--r--WebCore/bridge/jsc/BridgeJSC.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/WebCore/bridge/jsc/BridgeJSC.h b/WebCore/bridge/jsc/BridgeJSC.h
index 9cc9140..96974d9 100644
--- a/WebCore/bridge/jsc/BridgeJSC.h
+++ b/WebCore/bridge/jsc/BridgeJSC.h
@@ -85,8 +85,8 @@ public:
virtual Class* getClass() const = 0;
JSObject* createRuntimeObject(ExecState*);
- void willInvalidateRuntimeObject();
- void willDestroyRuntimeObject();
+ void willInvalidateRuntimeObject(RuntimeObject*);
+ void willDestroyRuntimeObject(RuntimeObject*);
// Returns false if the value was not set successfully.
virtual bool setValueOfUndefinedField(ExecState*, const Identifier&, JSValue) { return false; }
@@ -122,7 +122,7 @@ protected:
RefPtr<RootObject> m_rootObject;
private:
- RuntimeObject* m_runtimeObject;
+ WeakGCPtr<RuntimeObject> m_runtimeObject;
};
class Array : public Noncopyable {