Title: [122362] trunk/Source/WebCore
Revision
122362
Author
[email protected]
Date
2012-07-11 13:18:42 -0700 (Wed, 11 Jul 2012)

Log Message

[wx] Unreviewed build fix. Ignore array and sequence types for attributes as well
as functions since the CPP bindings do not yet support them.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (122361 => 122362)


--- trunk/Source/WebCore/ChangeLog	2012-07-11 20:16:23 UTC (rev 122361)
+++ trunk/Source/WebCore/ChangeLog	2012-07-11 20:18:42 UTC (rev 122362)
@@ -1,5 +1,13 @@
 2012-07-11  Kevin Ollivier  <[email protected]>
 
+        [wx] Unreviewed build fix. Ignore array and sequence types for attributes as well
+        as functions since the CPP bindings do not yet support them.
+
+        * bindings/scripts/CodeGeneratorCPP.pm:
+        (SkipAttribute):
+
+2012-07-11  Kevin Ollivier  <[email protected]>
+
         [wx] Unreviewed build fix. Use DOMStringList instead of DOMString[] for in / out type.
 
         * testing/Internals.idl:

Modified: trunk/Source/WebCore/bindings/scripts/CodeGeneratorCPP.pm (122361 => 122362)


--- trunk/Source/WebCore/bindings/scripts/CodeGeneratorCPP.pm	2012-07-11 20:16:23 UTC (rev 122361)
+++ trunk/Source/WebCore/bindings/scripts/CodeGeneratorCPP.pm	2012-07-11 20:18:42 UTC (rev 122362)
@@ -223,6 +223,14 @@
 
     return 1 if $attribute->signature->type =~ /Constructor$/;
 
+    if ($codeGenerator->GetArrayType($attribute->signature->type)) {
+        return 1;
+    }
+
+    if ($codeGenerator->GetSequenceType($attribute->signature->type)) {
+        return 1;
+    }
+
     $codeGenerator->AssertNotSequenceType($attribute->signature->type);
 
     # FIXME: This is typically used to add script execution state arguments to the method.
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to