Ignore:
Timestamp:
Jan 17, 2014, 11:25:43 AM (11 years ago)
Author:
[email protected]
Message:

Try to fix the Windows build.

  • API/OpaqueJSString.cpp:

(OpaqueJSString::~OpaqueJSString):
(OpaqueJSString::characters):

  • API/OpaqueJSString.h:

(OpaqueJSString::OpaqueJSString):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/API/OpaqueJSString.cpp

    r162205 r162206  
    4444{
    4545    // m_characters is put in a local here to avoid an extra atomic load.
    46     const UChar* characters = m_characters;
     46    UChar* characters = m_characters;
    4747    if (!characters)
    4848        return;
     
    5151        return;
    5252
    53     fastFree(const_cast<void*>(static_cast<const void*>(characters)));
     53    fastFree(characters);
    5454}
    5555
     
    8383
    8484    // m_characters is put in a local here to avoid an extra atomic load.
    85     const UChar* characters = m_characters;
     85    UChar* characters = m_characters;
    8686    if (characters)
    8787        return characters;
Note: See TracChangeset for help on using the changeset viewer.