⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 130664 in webkit


Ignore:
Timestamp:
Oct 8, 2012, 11:46:20 AM (14 years ago)
Author:
msaboff@apple.com
Message:

After r130344, OpaqueJSString() creates an empty string which should be a null string
​https://bugs.webkit.org/show_bug.cgi?id=98417

Reviewed by Sam Weinig.

Changed create() of a null string to return 0. This is the same behavior as before r130344.

  • API/OpaqueJSString.cpp:

(OpaqueJSString::create):

Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

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

    r130344 r130664  
    3737    if (!string.isNull())
    3838        return adoptRef(new OpaqueJSString(string));
    39     return adoptRef(new OpaqueJSString());
     39    return 0;
    4040}
    4141
  • trunk/Source/JavaScriptCore/ChangeLog

    r130612 r130664  
     12012-10-08  Michael Saboff  <msaboff@apple.com>
     2
     3        After r130344, OpaqueJSString() creates an empty string which should be a null string
     4        https://bugs.webkit.org/show_bug.cgi?id=98417
     5
     6        Reviewed by Sam Weinig.
     7
     8        Changed create() of a null string to return 0. This is the same behavior as before r130344.
     9
     10        * API/OpaqueJSString.cpp:
     11        (OpaqueJSString::create):
     12
    1132012-10-07  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
    214
Note: See TracChangeset for help on using the changeset viewer.