Changeset 438

Show
Ignore:
Timestamp:
08/16/08 18:01:48 (4 months ago)
Author:
mbensi
Message:

2008-08-16 Mario Bensi <mbensi@pleyo.com>

Reviewed by Olivier DOLE.
tested by Joe Edwards
Fix crash when we use the default constructor

  • OWBAL/Concretizations/Types/WK/BCbalValuePrivateWK.h:
    (BalValuePrivate::BalValuePrivate):
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/BAL/ChangeLogOWB

    r428 r438  
     12008-08-16  Mario Bensi  <mbensi@pleyo.com> 
     2 
     3        Reviewed by Olivier DOLE. 
     4        tested by Joe Edwards 
     5        Fix crash when we use the default constructor 
     6 
     7        * OWBAL/Concretizations/Types/WK/BCbalValuePrivateWK.h: 
     8        (BalValuePrivate::BalValuePrivate): 
     9 
    1102008-08-01  Olivier DOLE  <odole@pleyo.com> 
    211 
  • trunk/BAL/OWBAL/Concretizations/Types/WK/BCbalValuePrivateWK.h

    r306 r438  
    4545        { 
    4646            m_val = 0; 
    47             m_exec = 0; 
     47            PassRefPtr<JSGlobalData> sharedGlobalData = JSGlobalData::create(); 
     48            JSGlobalObject* obj = new (sharedGlobalData.get()) JSGlobalObject; 
     49            m_exec = obj->globalExec(); 
    4850        } 
    4951        BalValuePrivate(ExecState* exec, JSValue *value)