Ignore:
Timestamp:
Mar 25, 2010, 11:58:17 AM (15 years ago)
Author:
[email protected]
Message:
  • profiler/ProfileGenerator.cpp:

(JSC::ProfileGenerator::willExecute):
(JSC::ProfileGenerator::didExecute):

Reviewed by NOBODY (build fix).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/profiler/ProfileGenerator.cpp

    r54464 r56563  
    7878        CString name = callIdentifier.m_name.UTF8String();
    7979        CString url = callIdentifier.m_url.UTF8String();
    80         JAVASCRIPTCORE_PROFILE_WILL_EXECUTE(m_profileGroup, const_cast<char*>(name.c_str()), const_cast<char*>(url.c_str()), callIdentifier.m_lineNumber);
     80        JAVASCRIPTCORE_PROFILE_WILL_EXECUTE(m_profileGroup, const_cast<char*>(name.data()), const_cast<char*>(url.data()), callIdentifier.m_lineNumber);
    8181    }
    8282
     
    9393        CString name = callIdentifier.m_name.UTF8String();
    9494        CString url = callIdentifier.m_url.UTF8String();
    95         JAVASCRIPTCORE_PROFILE_DID_EXECUTE(m_profileGroup, const_cast<char*>(name.c_str()), const_cast<char*>(url.c_str()), callIdentifier.m_lineNumber);
     95        JAVASCRIPTCORE_PROFILE_DID_EXECUTE(m_profileGroup, const_cast<char*>(name.data()), const_cast<char*>(url.data()), callIdentifier.m_lineNumber);
    9696    }
    9797
Note: See TracChangeset for help on using the changeset viewer.