Changeset 43158 in webkit for trunk/WebCore/inspector/JavaScriptProfileNode.cpp
- Timestamp:
- May 3, 2009, 12:56:13 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/inspector/JavaScriptProfileNode.cpp
r43157 r43158 172 172 return JSValueMakeUndefined(ctx); 173 173 174 ExecState* exec = toJS(ctx);175 174 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() )); 177 176 JSObjectCallAsFunction(ctx, pushFunction, result, 1, &arg0, exception); 178 177 if (exception && *exception) … … 191 190 192 191 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 ); 195 194 } 196 195 … … 203 202 204 203 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())); 207 205 } 208 206
Note:
See TracChangeset
for help on using the changeset viewer.