summaryrefslogtreecommitdiffstats
path: root/JavaScriptCore/bindings/runtime_object.h
diff options
context:
space:
mode:
Diffstat (limited to 'JavaScriptCore/bindings/runtime_object.h')
-rw-r--r--JavaScriptCore/bindings/runtime_object.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/JavaScriptCore/bindings/runtime_object.h b/JavaScriptCore/bindings/runtime_object.h
index e2387e3..0ce7d74 100644
--- a/JavaScriptCore/bindings/runtime_object.h
+++ b/JavaScriptCore/bindings/runtime_object.h
@@ -40,7 +40,8 @@ public:
const ClassInfo *classInfo() const { return &info; }
virtual bool getOwnPropertySlot(ExecState *, const Identifier&, PropertySlot&);
- virtual void put(ExecState *exec, const Identifier &propertyName, JSValue *value);
+ virtual bool canPut(ExecState *exec, const Identifier &propertyName) const;
+ virtual void put(ExecState *exec, const Identifier &propertyName, JSValue *value, int attr = None);
virtual bool deleteProperty(ExecState *exec, const Identifier &propertyName);
virtual JSValue *defaultValue(ExecState *exec, JSType hint) const;
virtual bool implementsCall() const;