Commit 6ee65cf1 authored by fpizlo@apple.com's avatar fpizlo@apple.com

Fix indentation of BooleanObject.h

Rubber stamped by Mark Hahnenberg.

* runtime/BooleanObject.h:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134133 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent c6111e4a
2012-11-09 Filip Pizlo <fpizlo@apple.com>
Fix indentation of BooleanObject.h
Rubber stamped by Mark Hahnenberg.
* runtime/BooleanObject.h:
2012-11-09 Filip Pizlo <fpizlo@apple.com>
Fix indentation of BooleanConstructor.h
......
......@@ -25,36 +25,36 @@
namespace JSC {
class BooleanObject : public JSWrapperObject {
protected:
JS_EXPORT_PRIVATE BooleanObject(JSGlobalData&, Structure*);
JS_EXPORT_PRIVATE void finishCreation(JSGlobalData&);
public:
typedef JSWrapperObject Base;
static BooleanObject* create(JSGlobalData& globalData, Structure* structure)
{
BooleanObject* boolean = new (NotNull, allocateCell<BooleanObject>(globalData.heap)) BooleanObject(globalData, structure);
boolean->finishCreation(globalData);
return boolean;
}
static JS_EXPORTDATA const ClassInfo s_info;
static Structure* createStructure(JSGlobalData& globalData, JSGlobalObject* globalObject, JSValue prototype)
{
return Structure::create(globalData, globalObject, prototype, TypeInfo(ObjectType, StructureFlags), &s_info);
}
};
class BooleanObject : public JSWrapperObject {
protected:
JS_EXPORT_PRIVATE BooleanObject(JSGlobalData&, Structure*);
JS_EXPORT_PRIVATE void finishCreation(JSGlobalData&);
BooleanObject* asBooleanObject(JSValue);
public:
typedef JSWrapperObject Base;
inline BooleanObject* asBooleanObject(JSValue value)
static BooleanObject* create(JSGlobalData& globalData, Structure* structure)
{
BooleanObject* boolean = new (NotNull, allocateCell<BooleanObject>(globalData.heap)) BooleanObject(globalData, structure);
boolean->finishCreation(globalData);
return boolean;
}
static JS_EXPORTDATA const ClassInfo s_info;
static Structure* createStructure(JSGlobalData& globalData, JSGlobalObject* globalObject, JSValue prototype)
{
ASSERT(asObject(value)->inherits(&BooleanObject::s_info));
return static_cast<BooleanObject*>(asObject(value));
return Structure::create(globalData, globalObject, prototype, TypeInfo(ObjectType, StructureFlags), &s_info);
}
};
BooleanObject* asBooleanObject(JSValue);
inline BooleanObject* asBooleanObject(JSValue value)
{
ASSERT(asObject(value)->inherits(&BooleanObject::s_info));
return static_cast<BooleanObject*>(asObject(value));
}
} // namespace JSC
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment