Changeset 96836 in webkit for trunk/Source/JavaScriptCore/runtime
- Timestamp:
- Oct 6, 2011, 11:17:07 AM (14 years ago)
- Location:
- trunk/Source/JavaScriptCore/runtime
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/JSGlobalObject.h
r96760 r96836 25 25 #include "JSArray.h" 26 26 #include "JSGlobalData.h" 27 #include "JSGlobalThis.h" 27 28 #include "JSVariableObject.h" 28 29 #include "JSWeakObjectMapRefInternal.h" … … 144 145 { 145 146 JSGlobalObject* globalObject = new (allocateCell<JSGlobalObject>(globalData.heap)) JSGlobalObject(globalData, structure); 146 globalObject->finishCreation(globalData , globalObject);147 globalObject->finishCreation(globalData); 147 148 return globalObject; 148 149 } … … 160 161 } 161 162 162 void finishCreation(JSGlobalData& globalData, JSObject* thisValue) 163 void finishCreation(JSGlobalData& globalData) 164 { 165 Base::finishCreation(globalData); 166 structure()->setGlobalObject(globalData, this); 167 init(this); 168 } 169 170 void finishCreation(JSGlobalData& globalData, JSGlobalThis* thisValue) 163 171 { 164 172 Base::finishCreation(globalData);
Note:
See TracChangeset
for help on using the changeset viewer.