Title: [148168] trunk/Source/WebCore
Revision
148168
Author
[email protected]
Date
2013-04-10 20:21:28 -0700 (Wed, 10 Apr 2013)

Log 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:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (148167 => 148168)


--- trunk/Source/WebCore/ChangeLog	2013-04-11 03:17:08 UTC (rev 148167)
+++ trunk/Source/WebCore/ChangeLog	2013-04-11 03:21:28 UTC (rev 148168)
@@ -1,3 +1,14 @@
+2013-04-10  Patrick Gansterer  <[email protected]>
+
+        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:
+
 2013-04-10  Ryosuke Niwa  <[email protected]>
 
         Cleanup local variables in Editor::markAndReplaceFor

Modified: trunk/Source/WebCore/fileapi/File.idl (148167 => 148168)


--- trunk/Source/WebCore/fileapi/File.idl	2013-04-11 03:17:08 UTC (rev 148167)
+++ trunk/Source/WebCore/fileapi/File.idl	2013-04-11 03:21:28 UTC (rev 148168)
@@ -32,8 +32,6 @@
 #if !defined(LANGUAGE_GOBJECT) || !LANGUAGE_GOBJECT
     readonly attribute Date lastModifiedDate;
 #endif
-#if defined(ENABLE_DIRECTORY_UPLOAD) && ENABLE_DIRECTORY_UPLOAD
-    readonly attribute DOMString webkitRelativePath;
-#endif
+    [Conditional=DIRECTORY_UPLOAD] readonly attribute DOMString webkitRelativePath;
 };
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to