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

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

Issue 10375026: Start GenerateDispatch refactoring. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 7 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
Index: lib/dom/scripts/systemnative.py
diff --git a/lib/dom/scripts/systemnative.py b/lib/dom/scripts/systemnative.py
index ce44203b7e151aa64194bff285ec4abe05a5aa67..95a6b782ac3ed996f3e7e1d64f07d5cc0c386fbf 100644
--- a/lib/dom/scripts/systemnative.py
+++ b/lib/dom/scripts/systemnative.py
@@ -599,7 +599,7 @@ class NativeImplementationGenerator(systemwrapping.WrappingInterfaceGenerator):
overloads = sorted(info.overloads,
key=lambda overload: len(overload.arguments))
self._native_version = 0
- fallthrough = self.GenerateDispatch(body, info, ' ', 0, overloads)
+ fallthrough = GenerateDispatch(self, body, info, ' ', 0, overloads)
if fallthrough:
body.Emit(' throw "Incorrect number or type of arguments";\n');

Powered by Google App Engine
This is Rietveld 408576698