-
tkent@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=97874 Reviewed by Kentaro Hara. Source/WebCore: No new tests. This change shouldn't change any behavior. * platform/text/Localizer.h: (Localizer): Add monthLabels, weekDayShortLabels, and firstDayOfWeek. * platform/text/LocalizedDate.h: (WebCore): Remove them. * platform/text/LocalizedDateICU.cpp: (WebCore::localizedDateFormatText): ditto. * platform/text/LocalizedDateWin.cpp: (WebCore::localizedDateFormatText): ditto. * platform/text/mac/LocalizedDateMac.cpp: (WebCore::localizedDateFormatText): ditto. * platform/text/LocaleICU.h: (LocaleICU): Add virtual and OVERRIDE. * platform/text/LocaleWin.h: (LocaleWin): - Add virtual and OVERRIDE. - Move the content of firstDayOfWeek to LocaleWin.cpp because inline definition of a virtual function is not efficient. * platform/text/LocaleWin.cpp: (WebCore::LocaleWin::firstDayOfWeek): See above. * platform/text/mac/LocaleMac.h: (LocaleMac): Add virtual and OVERRIDE. Source/WebKit/chromium: * src/DateTimeChooserImpl.cpp: (WebKit::DateTimeChooserImpl::writeDocument): Use Localizer for the browser locale. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129859 268f45cc-cd09-0410-ab3c-d52691b4dbfc
89183614