Changeset 35196 in webkit for trunk/JavaScriptCore/API


Ignore:
Timestamp:
Jul 16, 2008, 1:20:23 AM (17 years ago)
Author:
[email protected]
Message:

Reviewed by Anders and Geoff.

https://bugs.webkit.org/show_bug.cgi?id=20023
Failed assertion in PropertyNameArray.cpp

This is already tested by testapi.

  • API/JSObjectRef.cpp: (JSPropertyNameAccumulatorAddName): Add the string to identifier table to appeaase PropertyNameArray.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/API/JSObjectRef.cpp

    r35159 r35196  
    405405    JSLock lock(propertyNames->globalData()->isSharedInstance);
    406406
    407     propertyNames->add(rep);
    408 }
     407    propertyNames->add(Identifier(propertyNames->globalData(), rep));
     408}
Note: See TracChangeset for help on using the changeset viewer.