Ignore:
Timestamp:
Sep 4, 2009, 7:07:32 PM (16 years ago)
Author:
[email protected]
Message:

ToString conversion should use the actual toString function for String objects.

Reviewed by Gavin Barraclough.

Remove incorrect specialisations of toString conversions on StringObject.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/runtime/StringObject.cpp

    r47780 r48083  
    9191}
    9292
    93 UString StringObject::toString(ExecState*) const
    94 {
    95     return internalValue()->value();
    96 }
    97 
    98 UString StringObject::toThisString(ExecState*) const
    99 {
    100     return internalValue()->value();
    101 }
    102 
    103 JSString* StringObject::toThisJSString(ExecState*)
    104 {
    105     return internalValue();
    106 }
    107 
    10893} // namespace JSC
Note: See TracChangeset for help on using the changeset viewer.