Changeset 39350 in webkit for trunk/JavaScriptCore/ChangeLog


Ignore:
Timestamp:
Dec 16, 2008, 6:23:02 PM (17 years ago)
Author:
[email protected]
Message:

2008-12-16 Darin Adler <Darin Adler>

Reviewed and landed by Cameron Zwarich.

Preparatory work for fixing

Bug 22887: Make UString::Rep use RefCounted rather than implementing its own ref counting
<https://bugs.webkit.org/show_bug.cgi?id=22887>

Change the various string translators used by Identifier:add() so that
they never zero the ref count of a newly created UString::Rep. Also,
change similar code for AtomicString to use the same idiomatic style.

JavaScriptCore:

  • runtime/Identifier.cpp: (JSC::CStringTranslator::translate): (JSC::Identifier::add): (JSC::UCharBufferTranslator::translate):

WebCore:

  • platform/text/AtomicString.cpp: (WebCore::AtomicString::add):
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r39348 r39350  
     12008-12-16  Darin Adler  <[email protected]>
     2
     3        Reviewed and landed by Cameron Zwarich.
     4
     5        Preparatory work for fixing
     6
     7        Bug 22887: Make UString::Rep use RefCounted rather than implementing its own ref counting
     8        <https://bugs.webkit.org/show_bug.cgi?id=22887>
     9
     10        Change the various string translators used by Identifier:add() so that
     11        they never zero the ref count of a newly created UString::Rep.
     12
     13        * runtime/Identifier.cpp:
     14        (JSC::CStringTranslator::translate):
     15        (JSC::Identifier::add):
     16        (JSC::UCharBufferTranslator::translate):
     17
    1182008-12-16  Gavin Barraclough  <[email protected]>
    219
Note: See TracChangeset for help on using the changeset viewer.