Ignore:
Timestamp:
May 3, 2009, 2:02:04 PM (16 years ago)
Author:
[email protected]
Message:

JavaScriptCore:

2009-05-02 Sam Weinig <[email protected]>

Roll JSC API number marshaling back in one last time (I hope).

WebCore:

2009-05-03 Sam Weinig <[email protected]>

Roll JSC API number marshaling back in one last time (I hope).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/inspector/JavaScriptProfileNode.cpp

    r43158 r43160  
    172172        return JSValueMakeUndefined(ctx);
    173173
     174    ExecState* exec = toJS(ctx);
    174175    for (Vector<RefPtr<ProfileNode> >::const_iterator it = children.begin(); it != children.end(); ++it) {
    175         JSValueRef arg0 = toRef(toJS(toJS(ctx), (*it).get() ));
     176        JSValueRef arg0 = toRef(exec, toJS(exec, (*it).get() ));
    176177        JSObjectCallAsFunction(ctx, pushFunction, result, 1, &arg0, exception);
    177178        if (exception && *exception)
     
    190191
    191192    ProfileNode* profileNode = static_cast<ProfileNode*>(JSObjectGetPrivate(thisObject));
    192     return toRef(toJS(toJS(ctx), profileNode->parent())
    193     );
     193    ExecState* exec = toJS(ctx);
     194    return toRef(exec, toJS(exec, profileNode->parent()));
    194195}
    195196
     
    202203
    203204    ProfileNode* profileNode = static_cast<ProfileNode*>(JSObjectGetPrivate(thisObject));
    204     return toRef(toJS(toJS(ctx), profileNode->head()));
     205    ExecState* exec = toJS(ctx);
     206    return toRef(exec, toJS(exec, profileNode->head()));
    205207}
    206208
Note: See TracChangeset for help on using the changeset viewer.