Changeset 148098 in webkit


Ignore:
Timestamp:
Apr 10, 2013 9:16:13 AM (11 years ago)
Author:
Patrick Gansterer
Message:

Replace ENABLE_MICRODATA preprocessor statements in IDL files with Conditional attribute
https://bugs.webkit.org/show_bug.cgi?id=114349

Reviewed by Geoffrey Garen.

The Conditional attribute does not need a preprocessor, which is source of much pain on native windows.

  • dom/Document.idl:
  • html/HTMLElement.idl:
Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r148097 r148098  
     12013-04-10  Patrick Gansterer  <paroga@webkit.org>
     2
     3        Replace ENABLE_MICRODATA preprocessor statements in IDL files with Conditional attribute
     4        https://bugs.webkit.org/show_bug.cgi?id=114349
     5
     6        Reviewed by Geoffrey Garen.
     7
     8        The Conditional attribute does not need a preprocessor, which is source of much pain on native windows.
     9
     10        * dom/Document.idl:
     11        * html/HTMLElement.idl:
     12
    1132013-04-10  Raphael Kubo da Costa  <raphael.kubo.da.costa@intel.com>
    214
  • trunk/Source/WebCore/dom/Document.idl

    r147857 r148098  
    181181    NodeList getElementsByName(in [Optional=DefaultIsUndefined] DOMString elementName);
    182182
    183 #if defined(ENABLE_MICRODATA) && ENABLE_MICRODATA
    184     NodeList getItems(in [TreatNullAs=NullString, TreatUndefinedAs=NullString, Optional=DefaultIsUndefined] DOMString typeNames);
    185 #endif
     183    [Conditional=MICRODATA] NodeList getItems(in [TreatNullAs=NullString, TreatUndefinedAs=NullString, Optional=DefaultIsUndefined] DOMString typeNames);
    186184
    187185#if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT
  • trunk/Source/WebCore/html/HTMLElement.idl

    r147857 r148098  
    7373    [Conditional=MICRODATA] readonly attribute DOMSettableTokenList itemProp;
    7474
    75 #if defined(ENABLE_MICRODATA) && ENABLE_MICRODATA
    7675    [Conditional=MICRODATA] readonly attribute HTMLPropertiesCollection properties;
    77 #endif
    7876#endif
    7977
Note: See TracChangeset for help on using the changeset viewer.