Ignore:
Timestamp:
May 3, 2009, 12:56:13 PM (16 years ago)
Author:
[email protected]
Message:

JavaScriptCore:

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

Roll JSC API number marshaling back out. It still breaks windows.

WebCore:

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

Roll JSC API number marshaling back out. It still breaks windows.

File:
1 edited

Legend:

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

    r43157 r43158  
    172172        return JSValueMakeUndefined(ctx);
    173173
    174     ExecState* exec = toJS(ctx);
    175174    for (Vector<RefPtr<ProfileNode> >::const_iterator it = children.begin(); it != children.end(); ++it) {
    176         JSValueRef arg0 = toRef(exec, toJS(exec, (*it).get() ));
     175        JSValueRef arg0 = toRef(toJS(toJS(ctx), (*it).get() ));
    177176        JSObjectCallAsFunction(ctx, pushFunction, result, 1, &arg0, exception);
    178177        if (exception && *exception)
     
    191190
    192191    ProfileNode* profileNode = static_cast<ProfileNode*>(JSObjectGetPrivate(thisObject));
    193     ExecState* exec = toJS(ctx);
    194     return toRef(exec, toJS(exec, profileNode->parent()));
     192    return toRef(toJS(toJS(ctx), profileNode->parent())
     193    );
    195194}
    196195
     
    203202
    204203    ProfileNode* profileNode = static_cast<ProfileNode*>(JSObjectGetPrivate(thisObject));
    205     ExecState* exec = toJS(ctx);
    206     return toRef(exec, toJS(exec, profileNode->head()));
     204    return toRef(toJS(toJS(ctx), profileNode->head()));
    207205}
    208206
Note: See TracChangeset for help on using the changeset viewer.