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