Changeset 15224 in webkit for trunk/JavaScriptCore/kjs/object.cpp
- Timestamp:
- Jul 7, 2006, 7:02:47 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/object.cpp
r14951 r15224 563 563 564 564 JSObject *Error::create(ExecState *exec, ErrorType errtype, const UString &message, 565 int lineno, int sourceId, const UString *sourceURL)565 int lineno, int sourceId, const UString &sourceURL) 566 566 { 567 567 JSObject *cons; … … 602 602 err->put(exec, "sourceId", jsNumber(sourceId)); 603 603 604 if( sourceURL)605 err->put(exec,"sourceURL", jsString(*sourceURL));604 if(!sourceURL.isNull()) 605 err->put(exec, "sourceURL", jsString(sourceURL)); 606 606 607 607 return err; … … 646 646 } 647 647 648 JSObject *throwError(ExecState *exec, ErrorType type, const UString &message, int line, int sourceId, const UString *sourceURL)648 JSObject *throwError(ExecState *exec, ErrorType type, const UString &message, int line, int sourceId, const UString &sourceURL) 649 649 { 650 650 JSObject *error = Error::create(exec, type, message, line, sourceId, sourceURL);
Note:
See TracChangeset
for help on using the changeset viewer.