summaryrefslogtreecommitdiffstats
path: root/JavaScriptCore/runtime/MathObject.h
diff options
context:
space:
mode:
Diffstat (limited to 'JavaScriptCore/runtime/MathObject.h')
-rw-r--r--JavaScriptCore/runtime/MathObject.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/JavaScriptCore/runtime/MathObject.h b/JavaScriptCore/runtime/MathObject.h
index fee5ec5..7f474b8 100644
--- a/JavaScriptCore/runtime/MathObject.h
+++ b/JavaScriptCore/runtime/MathObject.h
@@ -37,8 +37,11 @@ namespace JSC {
static PassRefPtr<Structure> createStructure(JSValue prototype)
{
- return Structure::create(prototype, TypeInfo(ObjectType, HasDefaultMark | HasDefaultGetPropertyNames));
+ return Structure::create(prototype, TypeInfo(ObjectType, StructureFlags));
}
+
+ protected:
+ static const unsigned StructureFlags = OverridesGetOwnPropertySlot | JSObject::StructureFlags;
};
} // namespace JSC