Changeset 54790 in webkit for trunk/JavaScriptCore/API


Ignore:
Timestamp:
Feb 15, 2010, 1:09:49 PM (15 years ago)
Author:
[email protected]
Message:

Removed some mistaken code added in http://trac.webkit.org/changeset/53860.

Reviewed by Oliver Hunt.

  • API/APIShims.h:

(JSC::APICallbackShim::APICallbackShim):
(JSC::APICallbackShim::~APICallbackShim): No need to start/stop the
timeout checker when calling out from the API to the client; we want to
monitor the VM for timeouts, not the client. This mistake was harmless /
undetectable, since it's totally redundant with the APIEntryShim, which
also starts / stops the timeout checker.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/API/APIShims.h

    r53860 r54790  
    8181    {
    8282        resetCurrentIdentifierTable();
    83         m_globalData->timeoutChecker.start();
    8483    }
    8584
    8685    ~APICallbackShim()
    8786    {
    88         m_globalData->timeoutChecker.stop();
    8987        setCurrentIdentifierTable(m_globalData->identifierTable);
    9088    }
Note: See TracChangeset for help on using the changeset viewer.