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

Changeset 179855 in webkit


Ignore:
Timestamp:
Feb 9, 2015, 4:12:39 PM (12 years ago)
Author:
ap@apple.com
Message:

REGRESSION: tryFastCalloc is no longer "try"
https://bugs.webkit.org/show_bug.cgi?id=141406

Reviewed by Darin Adler.

This causes crashes on some WebKit regression test bots.

  • wtf/FastMalloc.cpp: (WTF::tryFastCalloc): Fix what looks like a copy/paste mistake.
Location:
trunk/Source/WTF
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WTF/ChangeLog

    r179795 r179855  
     12015-02-09  Alexey Proskuryakov  <ap@apple.com>
     2
     3        REGRESSION: tryFastCalloc is no longer "try"
     4        https://bugs.webkit.org/show_bug.cgi?id=141406
     5
     6        Reviewed by Darin Adler.
     7
     8        This causes crashes on some WebKit regression test bots.
     9
     10        * wtf/FastMalloc.cpp: (WTF::tryFastCalloc): Fix what looks like a copy/paste mistake.
     11
    1122015-02-07  Csaba Osztrogonác  <ossy@webkit.org>
    213
  • trunk/Source/WTF/wtf/FastMalloc.cpp

    r179751 r179855  
    324324TryMallocReturnValue tryFastCalloc(size_t numElements, size_t elementSize)
    325325{
    326     return fastCalloc(numElements, elementSize);
     326    return tryFastZeroedMalloc(numElements * elementSize);
    327327}
    328328   
Note: See TracChangeset for help on using the changeset viewer.