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

Unified Diff: lib/dom/scripts/systemnative.py

Issue 10783019: Make runtime_check arg not optional. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/dom/scripts/systemnative.py
diff --git a/lib/dom/scripts/systemnative.py b/lib/dom/scripts/systemnative.py
index add05bdc11cfeea3f510259ac6ca1fb7e51f06cc..8f2f5b8e7ce3dd4db7825614f668d0493fc3ebfd 100644
--- a/lib/dom/scripts/systemnative.py
+++ b/lib/dom/scripts/systemnative.py
@@ -514,7 +514,7 @@ class NativeImplementationGenerator(systembase.BaseGenerator):
invocation = self._GenerateWebCoreInvocation(function_expression,
arguments, attr.type.id, attr.ext_attrs, attr.get_raises)
self._GenerateNativeCallback(cpp_callback_name, parameter_definitions_emitter.Fragments(),
- True, invocation, raises_exceptions=raises_exceptions)
+ True, invocation, raises_exceptions=raises_exceptions, runtime_check=None)
def _AddSetter(self, attr, html_name):
type_info = self._TypeInfo(attr.type.id)
@@ -550,7 +550,7 @@ class NativeImplementationGenerator(systembase.BaseGenerator):
arguments, 'void', attr.ext_attrs, attr.set_raises)
self._GenerateNativeCallback(cpp_callback_name, parameter_definitions_emitter.Fragments(),
- True, invocation, raises_exceptions=True)
+ True, invocation, raises_exceptions=True, runtime_check=None)
def AddIndexer(self, element_type):
"""Adds all the methods required to complete implementation of List."""
@@ -785,10 +785,11 @@ class NativeImplementationGenerator(systembase.BaseGenerator):
self._GenerateNativeCallback(cpp_callback_name,
parameter_definitions=parameter_definitions_emitter.Fragments(),
needs_receiver=not operation.is_static, invocation=invocation,
- raises_exceptions=raises_exceptions)
+ raises_exceptions=raises_exceptions,
+ runtime_check=None)
def _GenerateNativeCallback(self, callback_name, parameter_definitions,
- needs_receiver, invocation, raises_exceptions, runtime_check=None):
+ needs_receiver, invocation, raises_exceptions, runtime_check):
head = parameter_definitions
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698