Changeset 9875 in webkit for trunk/JavaScriptCore/kjs


Ignore:
Timestamp:
Jul 22, 2005, 5:50:36 PM (20 years ago)
Author:
ggaren
Message:

Reviewed by darin.

  • kjs/date_object.cpp: DatePrototypeImp now identifies itself as a child class of DateInstanceImp -- this enables calls to Date.ValueOf().

fixes: ecma/Date/15.9.5.js (once we enable the date tests).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/kjs/date_object.cpp

    r9768 r9875  
    405405// ------------------------------ DatePrototypeImp -----------------------------
    406406
    407 const ClassInfo DatePrototypeImp::info = {"Date", 0, &dateTable, 0};
     407const ClassInfo DatePrototypeImp::info = {"Date", &DateInstanceImp::info, &dateTable, 0};
    408408
    409409/* Source for date_object.lut.h
Note: See TracChangeset for help on using the changeset viewer.