Changeset 10028 in webkit for trunk/JavaScriptCore


Ignore:
Timestamp:
Aug 3, 2005, 5:40:20 PM (20 years ago)
Author:
rjw
Message:

Submitted by: [email protected]
Reviewed by: [email protected]
Fixed hard capacity limit on the method and field cache use for the ObjC bindings.

<rdar://problem/4204416> Dashboard client crashes when too many ObjC methods are called

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/bindings/objc/objc_class.mm

    r7742 r10028  
    4949{
    5050    _isa = aClass;
    51     _methods = CFDictionaryCreateMutable(NULL, 16, &kCFTypeDictionaryKeyCallBacks, NULL);
    52     _fields = CFDictionaryCreateMutable(NULL, 16, &kCFTypeDictionaryKeyCallBacks, NULL);
     51    _methods = CFDictionaryCreateMutable(NULL, 0, &kCFTypeDictionaryKeyCallBacks, NULL);
     52    _fields = CFDictionaryCreateMutable(NULL, 0, &kCFTypeDictionaryKeyCallBacks, NULL);
    5353}
    5454
Note: See TracChangeset for help on using the changeset viewer.