Title: [170708] trunk/Source/WebCore
Revision
170708
Author
[email protected]
Date
2014-07-02 08:24:31 -0700 (Wed, 02 Jul 2014)

Log Message

[GTK] Unstable headers should include webkitdomdefines-unstable.h
https://bugs.webkit.org/show_bug.cgi?id=134540

Reviewed by Martin Robinson.

Instead of the class header that can only be included from webkitdom.h.

* bindings/scripts/CodeGeneratorGObject.pm:
(WriteData):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (170707 => 170708)


--- trunk/Source/WebCore/ChangeLog	2014-07-02 15:22:44 UTC (rev 170707)
+++ trunk/Source/WebCore/ChangeLog	2014-07-02 15:24:31 UTC (rev 170708)
@@ -1,3 +1,15 @@
+2014-07-02  Carlos Garcia Campos  <[email protected]>
+
+        [GTK] Unstable headers should include webkitdomdefines-unstable.h
+        https://bugs.webkit.org/show_bug.cgi?id=134540
+
+        Reviewed by Martin Robinson.
+
+        Instead of the class header that can only be included from webkitdom.h.
+
+        * bindings/scripts/CodeGeneratorGObject.pm:
+        (WriteData):
+
 2014-07-02  Mario Sanchez Prada  <[email protected]>
 
         REGRESSION(r170008): [GTK] Layout Tests fast/forms/option-constructor-selected.html and fast/forms/select-live-pseudo-selectors.html crash.

Modified: trunk/Source/WebCore/bindings/scripts/CodeGeneratorGObject.pm (170707 => 170708)


--- trunk/Source/WebCore/bindings/scripts/CodeGeneratorGObject.pm	2014-07-02 15:22:44 UTC (rev 170707)
+++ trunk/Source/WebCore/bindings/scripts/CodeGeneratorGObject.pm	2014-07-02 15:24:31 UTC (rev 170708)
@@ -1652,12 +1652,13 @@
 #ifndef $guard
 #define $guard
 
-#include <webkitdom/${className}.h>
+#ifdef WEBKIT_DOM_USE_UNSTABLE_API
+
+#include <webkitdom/webkitdomdefines-unstable.h>
 EOF
 
         print UNSTABLE $text;
         print UNSTABLE "\n";
-        print UNSTABLE "#ifdef WEBKIT_DOM_USE_UNSTABLE_API\n\n";
         print UNSTABLE "#if ${conditionalString}\n\n" if $conditionalString;
         print UNSTABLE "G_BEGIN_DECLS\n";
         print UNSTABLE "\n";
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to