Changeset 11525 in webkit for trunk/JavaScriptCore/bindings/runtime_method.cpp
- Timestamp:
- Dec 10, 2005, 4:38:07 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/bindings/runtime_method.cpp
r10701 r11525 52 52 // FIXME: a better solution might be to give the maximum number of parameters 53 53 // of any method 54 return Number(thisObj->_methodList.methodAt(0)->numParameters());54 return jsNumber(thisObj->_methodList.methodAt(0)->numParameters()); 55 55 } 56 56 … … 97 97 } 98 98 99 return Undefined();99 return jsUndefined(); 100 100 } 101 101 … … 108 108 Completion RuntimeMethodImp::execute(ExecState *exec) 109 109 { 110 return Completion(Normal, Undefined());110 return Completion(Normal, jsUndefined()); 111 111 } 112 112
Note:
See TracChangeset
for help on using the changeset viewer.