Changeset 37799 in webkit for trunk/JavaScriptCore/kjs/JSNotAnObject.h
- Timestamp:
- Oct 22, 2008, 5:11:11 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/JSNotAnObject.h
r37684 r37799 37 37 public: 38 38 JSNotAnObjectErrorStub(ExecState* exec, bool isNull) 39 : JSObject(exec->globalData().n ullProtoStructureID)39 : JSObject(exec->globalData().notAnObjectErrorStubStructure) 40 40 , m_isNull(isNull) 41 41 { 42 42 } 43 43 44 bool isNull() const { return m_isNull; } 44 bool isNotAnObjectErrorStub() const { return true; } 45 45 46 private: 47 virtual bool isNotAnObjectErrorStub() const { return true; } 48 46 49 bool m_isNull; 47 50 }; … … 53 56 public: 54 57 JSNotAnObject(ExecState* exec, JSNotAnObjectErrorStub* exception) 55 : JSObject(exec->globalData().n ullProtoStructureID)58 : JSObject(exec->globalData().notAnObjectStructure) 56 59 , m_exception(exception) 57 60 { 61 } 62 63 static PassRefPtr<StructureID> createStructureID(JSValuePtr prototype) 64 { 65 return StructureID::create(prototype, TypeInfo(ObjectType)); 58 66 } 59 67
Note:
See TracChangeset
for help on using the changeset viewer.