Ignore:
Timestamp:
Jan 11, 2009, 11:34:12 PM (16 years ago)
Author:
[email protected]
Message:

2009-01-11 David Levin <[email protected]>

Reviewed by Darin Adler.

https://bugs.webkit.org/show_bug.cgi?id=23245

Add initializeThreading to key places in JS API to ensure that
UString is properly initialized.

  • API/JSContextRef.cpp: (JSContextGroupCreate): (JSGlobalContextCreate):
  • API/JSObjectRef.cpp: (JSClassCreate):
  • API/JSStringRef.cpp: (JSStringCreateWithCharacters): (JSStringCreateWithUTF8CString):
  • API/JSStringRefCF.cpp: (JSStringCreateWithCFString):
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/API/JSContextRef.cpp

    r39670 r39817  
    4545JSContextGroupRef JSContextGroupCreate()
    4646{
     47    initializeThreading();
    4748    return toRef(JSGlobalData::create().releaseRef());
    4849}
     
    6162JSGlobalContextRef JSGlobalContextCreate(JSClassRef globalObjectClass)
    6263{
     64    initializeThreading();
    6365#if PLATFORM(DARWIN)
    6466    // When running on Tiger or Leopard, or if the application was linked before JSGlobalContextCreate was changed
Note: See TracChangeset for help on using the changeset viewer.