Changeset 32807 in webkit for trunk/JavaScriptCore/kjs/internal.cpp
- Timestamp:
- May 2, 2008, 3:07:53 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/internal.cpp
r32652 r32807 81 81 JSObject* StringImp::toObject(ExecState *exec) const 82 82 { 83 return new StringInstance(exec->lexicalGlobalObject()->stringPrototype(), const_cast<StringImp*>(this));83 return new (exec) StringInstance(exec->lexicalGlobalObject()->stringPrototype(), const_cast<StringImp*>(this)); 84 84 } 85 85
Note:
See TracChangeset
for help on using the changeset viewer.