Changeset 15846 in webkit for trunk/JavaScriptCore/kjs/string_object.cpp
- Timestamp:
- Aug 13, 2006, 8:06:14 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/string_object.cpp
r15698 r15846 25 25 #include "string_object.lut.h" 26 26 27 #include "JSWrapperObject.h" 27 28 #include "error_object.h" 28 29 #include "operations.h" … … 38 39 39 40 StringInstance::StringInstance(JSObject *proto) 40 : JS Object(proto)41 : JSWrapperObject(proto) 41 42 { 42 43 setInternalValue(jsString("")); … … 44 45 45 46 StringInstance::StringInstance(JSObject *proto, const UString &string) 46 : JS Object(proto)47 : JSWrapperObject(proto) 47 48 { 48 49 setInternalValue(jsString(string)); … … 391 392 return throwError(exec, TypeError); 392 393 393 return jsString( thisObj->internalValue()->toString(exec));394 return jsString(static_cast<StringInstance*>(thisObj)->internalValue()->toString(exec)); 394 395 } 395 396
Note:
See TracChangeset
for help on using the changeset viewer.