Changeset 148168 in webkit


Ignore:
Timestamp:
Apr 10, 2013 8:21:28 PM (11 years ago)
Author:
Patrick Gansterer
Message:

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

Reviewed by Ryosuke Niwa.

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

  • fileapi/File.idl:
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r148163 r148168  
     12013-04-10  Patrick Gansterer  <paroga@webkit.org>
     2
     3        Replace ENABLE_DIRECTORY_UPLOAD preprocessor statements in IDL files with Conditional attribute
     4        https://bugs.webkit.org/show_bug.cgi?id=114350
     5
     6        Reviewed by Ryosuke Niwa.
     7
     8        The Conditional attribute does not need a preprocessor, which is source of much pain on native windows.
     9
     10        * fileapi/File.idl:
     11
    1122013-04-10  Ryosuke Niwa  <rniwa@webkit.org>
    213
  • trunk/Source/WebCore/fileapi/File.idl

    r131172 r148168  
    3333    readonly attribute Date lastModifiedDate;
    3434#endif
    35 #if defined(ENABLE_DIRECTORY_UPLOAD) && ENABLE_DIRECTORY_UPLOAD
    36     readonly attribute DOMString webkitRelativePath;
    37 #endif
     35    [Conditional=DIRECTORY_UPLOAD] readonly attribute DOMString webkitRelativePath;
    3836};
    3937
Note: See TracChangeset for help on using the changeset viewer.