Show
Ignore:
Timestamp:
08/20/08 13:23:52 (5 months ago)
Author:
mbensi
Message:

merge with webkit revision 35853

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/JavaScriptCore/API/tests/testapi.c

    r424 r447  
    567567     
    568568    // Test garbage collection with a fresh context 
    569     context = JSGlobalContextCreate(NULL); 
     569    context = JSGlobalContextCreateInGroup(NULL, NULL); 
    570570    TestInitializeFinalize = true; 
    571571    testInitializeFinalize(); 
     
    581581    globalObjectClassDefinition.attributes = kJSClassAttributeNoAutomaticPrototype; 
    582582    JSClassRef globalObjectClass = JSClassCreate(&globalObjectClassDefinition); 
    583     context = JSGlobalContextCreate(globalObjectClass); 
    584      
     583    context = JSGlobalContextCreateInGroup(NULL, globalObjectClass); 
     584 
     585    JSGlobalContextRetain(context); 
     586    JSGlobalContextRelease(context); 
     587 
    585588    JSObjectRef globalObject = JSContextGetGlobalObject(context); 
    586589    ASSERT(JSValueIsObject(context, globalObject));