Changeset 121215 in webkit for trunk/Source/JavaScriptCore/runtime/JSGlobalObject.h
- Timestamp:
- Jun 25, 2012, 7:14:07 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/JSGlobalObject.h
r119779 r121215 176 176 177 177 protected: 178 explicit JSGlobalObject(JSGlobalData& globalData, Structure* structure, const GlobalObjectMethodTable* globalObjectMethodTable = 0) 179 : JSSegmentedVariableObject(globalData, structure, &m_symbolTable) 180 , m_globalScopeChain() 181 , m_weakRandom(static_cast<unsigned>(randomNumber() * (std::numeric_limits<unsigned>::max() + 1.0))) 182 , m_evalEnabled(true) 183 , m_globalObjectMethodTable(globalObjectMethodTable ? globalObjectMethodTable : &s_globalObjectMethodTable) 184 { 185 } 178 JS_EXPORT_PRIVATE explicit JSGlobalObject(JSGlobalData&, Structure*, const GlobalObjectMethodTable* = 0); 186 179 187 180 void finishCreation(JSGlobalData& globalData) … … 329 322 330 323 double weakRandomNumber() { return m_weakRandom.get(); } 324 unsigned weakRandomInteger() { return m_weakRandom.getUint32(); } 331 325 protected: 332 326
Note:
See TracChangeset
for help on using the changeset viewer.