Changeset 240903 in webkit


Ignore:
Timestamp:
Feb 3, 2019 5:53:54 AM (5 years ago)
Author:
commit-queue@webkit.org
Message:

Unreviewed, rolling out r240896.
https://bugs.webkit.org/show_bug.cgi?id=194202

"Fixes leaks, but is probably not the correct fix." (Requested
by ddkilzer on #webkit).

Reverted changeset:

"Leak of WTF::StringImpl under SymbolImpl::createNullSymbol()
(48 bytes) in com.apple.WebKit.WebContent running layout
tests"
https://bugs.webkit.org/show_bug.cgi?id=193291
https://trac.webkit.org/changeset/240896

Location:
trunk/Source/WTF
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WTF/ChangeLog

    r240896 r240903  
     12019-02-03  Commit Queue  <commit-queue@webkit.org>
     2
     3        Unreviewed, rolling out r240896.
     4        https://bugs.webkit.org/show_bug.cgi?id=194202
     5
     6        "Fixes leaks, but is probably not the correct fix." (Requested
     7        by ddkilzer on #webkit).
     8
     9        Reverted changeset:
     10
     11        "Leak of WTF::StringImpl under SymbolImpl::createNullSymbol()
     12        (48 bytes) in com.apple.WebKit.WebContent running layout
     13        tests"
     14        https://bugs.webkit.org/show_bug.cgi?id=193291
     15        https://trac.webkit.org/changeset/240896
     16
    1172019-02-02  David Kilzer  <ddkilzer@apple.com>
    218
  • trunk/Source/WTF/wtf/text/SymbolImpl.h

    r240896 r240903  
    117117    }
    118118
    119     ~SymbolImpl()
    120     {
    121         if (m_owner != StringImpl::empty())
    122             m_owner->deref();
    123         m_owner = nullptr;
    124     }
    125 
    126119    // The pointer to the owner string should be immediately following after the StringImpl layout,
    127120    // since we would like to align the layout of SymbolImpl to the one of BufferSubstring StringImpl.
Note: See TracChangeset for help on using the changeset viewer.