Bug 154483

Summary: Do not require UDate in LocaleICU with !ENABLE_DATE_AND_TIME_INPUT_TYPES
Product: WebKit Reporter: Olivier Blin <olivier.blin>
Component: PlatformAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: annulen, commit-queue, darin, ewmailing, mcatanzaro, zan
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Olivier Blin 2016-02-19 17:07:13 PST
initializeShortDateFormat(), dateFormat(), m_shortDateFormat and m_didCreateShortDateFormat should be moved under flag, since they are only used by code under the ENABLE_DATE_AND_TIME_INPUT_TYPES flag.
    
This helps to build with a light ICU that does not provide UDate features (with UCONFIG_NO_FORMATTING).
Comment 1 Olivier Blin 2016-02-19 17:09:10 PST
Created attachment 271829 [details]
Patch
Comment 2 Michael Catanzaro 2016-02-20 07:53:38 PST
Comment on attachment 271829 [details]
Patch

I guess it's right; I looked in bug #101007 for some explanation of why short data format was not behind this flag, but couldn't find any justification for this.
Comment 3 WebKit Commit Bot 2016-02-20 08:42:21 PST
Comment on attachment 271829 [details]
Patch

Clearing flags on attachment: 271829

Committed r196861: <http://trac.webkit.org/changeset/196861>
Comment 4 WebKit Commit Bot 2016-02-20 08:42:26 PST
All reviewed patches have been landed.  Closing bug.