Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(202)

Unified Diff: bindings/dart/scripts/dart_callback_interface.py

Issue 959933002: Move IDLs to 39 roll (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « bindings/dart/scripts/dart_attributes.py ('k') | bindings/dart/scripts/dart_compiler.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bindings/dart/scripts/dart_callback_interface.py
diff --git a/bindings/dart/scripts/dart_callback_interface.py b/bindings/dart/scripts/dart_callback_interface.py
index 5120af47c526d6a4c9a754533c5adf9768d48b8f..266fb318939f5a933dc9b5c801c6c84b814bbab3 100644
--- a/bindings/dart/scripts/dart_callback_interface.py
+++ b/bindings/dart/scripts/dart_callback_interface.py
@@ -114,7 +114,9 @@ def generate_method(operation):
def generate_arguments_contents(arguments, call_with_this_handle):
def generate_argument(argument):
- creation_context = '<Dart%s>' % argument.idl_type.base_type
+ creation_context = ''
+ if argument.idl_type.native_array_element_type is not None:
+ creation_context = '<Dart%s>' % argument.idl_type.native_array_element_type
return {
'handle': '%sHandle' % argument.name,
'cpp_value_to_dart_value': argument.idl_type.cpp_value_to_dart_value(argument.name,
« no previous file with comments | « bindings/dart/scripts/dart_attributes.py ('k') | bindings/dart/scripts/dart_compiler.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698