Changeset 127363 in webkit for trunk/Source/JavaScriptCore/runtime/JSGlobalObject.cpp
- Timestamp:
- Sep 1, 2012, 12:45:01 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/JSGlobalObject.cpp
r127345 r127363 110 110 111 111 JSGlobalObject::JSGlobalObject(JSGlobalData& globalData, Structure* structure, const GlobalObjectMethodTable* globalObjectMethodTable) 112 : Base(globalData, structure, this, this,0)112 : Base(globalData, structure, 0) 113 113 , m_masqueradesAsUndefinedWatchpoint(adoptRef(new WatchpointSet(InitializedWatching))) 114 114 , m_weakRandom(Options::forceWeakRandomSeed() ? Options::forcedWeakRandomSeed() : static_cast<unsigned>(randomNumber() * (std::numeric_limits<unsigned>::max() + 1.0))) … … 130 130 { 131 131 static_cast<JSGlobalObject*>(cell)->JSGlobalObject::~JSGlobalObject(); 132 } 133 134 void JSGlobalObject::setGlobalThis(JSGlobalData& globalData, JSObject* globalThis) 135 { 136 m_globalThis.set(globalData, this, globalThis); 132 137 } 133 138 … … 353 358 Base::visitChildren(thisObject, visitor); 354 359 360 visitor.append(&thisObject->m_globalThis); 355 361 visitor.append(&thisObject->m_methodCallDummy); 356 362
Note:
See TracChangeset
for help on using the changeset viewer.