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

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

Issue 10334003: Rework static method support. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 8 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/systemfrog.py
diff --git a/lib/dom/scripts/systemfrog.py b/lib/dom/scripts/systemfrog.py
index 6289873ac445f044fd7d41a9125648f5a6f678e7..1e617baf2137ca9230a40dfbcdece9c4b05430d6 100644
--- a/lib/dom/scripts/systemfrog.py
+++ b/lib/dom/scripts/systemfrog.py
@@ -350,6 +350,9 @@ class FrogInterfaceGenerator(object):
Arguments:
info: An OperationInfo object.
"""
+ if info.IsStatic():
+ return
+
# TODO(vsm): Handle overloads.
params = info.ParametersImplementationDeclaration(
lambda type_name: self._NarrowInputType(type_name))

Powered by Google App Engine
This is Rietveld 408576698