Changeset 49247 in webkit for trunk/JavaScriptCore/runtime


Ignore:
Timestamp:
Oct 7, 2009, 9:49:35 AM (16 years ago)
Author:
Adam Roben
Message:

Export DateInstance::info in a way that works on Windows

Fixes <http://webkit.org/b/30171>
fast/dom/Window/window-postmessage-clone.html fails on Windows

Reviewed by Anders Carlsson.

Removed the export of DateInstance::info from here.

  • runtime/DateInstance.h: Use JS_EXPORTDATA to export

DateInstance::info, which is the required way of exporting data on
Windows.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/runtime/DateInstance.h

    r49214 r49247  
    4343        bool getUTCTime(double& milliseconds) const;
    4444
    45         static const ClassInfo info;
     45        static JS_EXPORTDATA const ClassInfo info;
    4646
    4747        void msToGregorianDateTime(double, bool outputIsUTC, WTF::GregorianDateTime&) const;
Note: See TracChangeset for help on using the changeset viewer.