Changeset 34842 in webkit for trunk/JavaScriptCore/kjs/JSGlobalObject.h
- Timestamp:
- Jun 27, 2008, 9:02:03 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/JSGlobalObject.h
r34838 r34842 90 90 int recursion; 91 91 92 unsigned timeoutTime;93 unsigned timeAtLastCheckTimeout;94 unsigned timeExecuting;95 unsigned timeoutCheckCount;96 unsigned tickCount;97 unsigned ticksUntilNextTimeoutCheck;98 99 92 RegExpConstructor* regExpConstructor; 100 93 ErrorConstructor* errorConstructor; … … 203 196 unsigned pageGroupIdentifier() const { return d()->pageGroupIdentifier; } 204 197 205 void setTimeoutTime(unsigned timeoutTime) { d()->timeoutTime = timeoutTime; }198 void setTimeoutTime(unsigned timeoutTime); 206 199 void startTimeoutCheck(); 207 200 void stopTimeoutCheck(); 208 bool timedOut();209 201 210 202 Debugger* debugger() const { return d()->debugger; } … … 263 255 void addStaticGlobals(GlobalPropertyInfo*, int count); 264 256 265 private:266 bool checkTimeout();267 void resetTimeoutCheck();268 257 }; 269 258 … … 299 288 } 300 289 301 inline bool JSGlobalObject::timedOut()302 {303 d()->tickCount++;304 305 if (d()->tickCount != d()->ticksUntilNextTimeoutCheck)306 return false;307 308 return checkTimeout();309 }310 311 290 inline JSGlobalObject* ScopeChainNode::globalObject() const 312 291 {
Note:
See TracChangeset
for help on using the changeset viewer.