Changeset 10061 in webkit
- Timestamp:
- Aug 5, 2005, 6:16:25 PM (20 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r10059 r10061 1 2005-08-05 Geoffrey Garen <ggaren@apple.com> 2 3 -fixed <rdar://problem/4207220> REGRESSION (DENVER): Crash occurs 4 after clicking on Hangman applet 5 6 Reviewed by darin. 7 8 * kjs/object.cpp: 9 (KJS::ObjectImp::hasProperty): added check for null prototype. 10 11 FIXME: The long-term plan is to make runtime objects use JS Null() 12 instead of null pointers, which will allow us to eliminate null 13 checks, improving performance. 14 1 15 2005-08-05 Geoffrey Garen <ggaren@apple.com> 2 16 -
trunk/JavaScriptCore/kjs/object.cpp
r9889 r10061 327 327 return true; 328 328 329 if ( _proto->dispatchType() != ObjectType) {329 if (!_proto || _proto->dispatchType() != ObjectType) { 330 330 return false; 331 331 } … … 340 340 return true; 341 341 342 if ( _proto->dispatchType() != ObjectType) {342 if (!_proto || _proto->dispatchType() != ObjectType) { 343 343 return false; 344 344 }
Note:
See TracChangeset
for help on using the changeset viewer.