Changeset 49845 in webkit
- Timestamp:
- Oct 20, 2009 2:42:42 AM (15 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r49820 r49845 1 2009-10-20 Gabor Loki <loki@inf.u-szeged.hu> 2 3 Reviewed by Oliver Hunt. 4 5 Move OverridesMarkChildren flag from DatePrototype to its parent class 6 https://bugs.webkit.org/show_bug.cgi?id=30372 7 8 * runtime/DateInstance.h: 9 (JSC::DateInstance::createStructure): 10 * runtime/DatePrototype.h: 11 1 12 2009-10-19 Geoffrey Garen <ggaren@apple.com> 2 13 -
trunk/JavaScriptCore/runtime/DateInstance.h
r49247 r49845 47 47 void msToGregorianDateTime(double, bool outputIsUTC, WTF::GregorianDateTime&) const; 48 48 49 static PassRefPtr<Structure> createStructure(JSValue prototype) 50 { 51 return Structure::create(prototype, TypeInfo(ObjectType, StructureFlags)); 52 } 53 54 protected: 55 static const unsigned StructureFlags = OverridesMarkChildren | JSWrapperObject::StructureFlags; 56 49 57 private: 50 58 virtual const ClassInfo* classInfo() const { return &info; } -
trunk/JavaScriptCore/runtime/DatePrototype.h
r49721 r49845 44 44 45 45 protected: 46 static const unsigned StructureFlags = OverridesGetOwnPropertySlot | OverridesMarkChildren |DateInstance::StructureFlags;46 static const unsigned StructureFlags = OverridesGetOwnPropertySlot | DateInstance::StructureFlags; 47 47 48 48 };
Note: See TracChangeset
for help on using the changeset viewer.