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

Unified Diff: client/dom/scripts/idlnode.py

Issue 9695015: Provide DartDomNameOfAttribute (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: fix native Created 8 years, 9 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: client/dom/scripts/idlnode.py
diff --git a/client/dom/scripts/idlnode.py b/client/dom/scripts/idlnode.py
index 805decc7034e31843bc18b96b5dff69fc17e58af..8e4956ca000060db1efbd2f8677fc80e4b0e9d88 100755
--- a/client/dom/scripts/idlnode.py
+++ b/client/dom/scripts/idlnode.py
@@ -378,7 +378,9 @@ class IDLInterface(IDLNode):
def has_attribute(self, candidate):
for attribute in self.attributes:
- if attribute.id == candidate.id and attribute.is_fc_getter == candidate.is_fc_getter and attribute.is_fc_setter == candidate.is_fc_setter:
+ if (attribute.id == candidate.id and
+ attribute.is_fc_getter == candidate.is_fc_getter and
+ attribute.is_fc_setter == candidate.is_fc_setter):
return True
return False

Powered by Google App Engine
This is Rietveld 408576698