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

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

Issue 15732002: Remove now unused attribute. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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
« 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: tools/dom/scripts/systemnative.py
diff --git a/tools/dom/scripts/systemnative.py b/tools/dom/scripts/systemnative.py
index c5c821948d423a7d3adc5ea18ec0209485fb3774..fb659f4c81da3904358c664a27421ee0d5acf49c 100644
--- a/tools/dom/scripts/systemnative.py
+++ b/tools/dom/scripts/systemnative.py
@@ -514,9 +514,7 @@ class DartiumBackend(HtmlDartGenerator):
self._EmitNativeIndexSetter(dart_element_type)
def _HasNativeIndexGetter(self):
- ext_attrs = self._interface.ext_attrs
- return ('CustomIndexedGetter' in ext_attrs or
- 'NumericIndexedGetter' in ext_attrs)
+ return 'CustomIndexedGetter' in self._interface.ext_attrs
def _EmitNativeIndexGetter(self, element_type):
dart_declaration = '%s operator[](int index)' % \
« 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