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

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

Issue 13849002: Fixing SVGColor DartC break (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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
« no previous file with comments | « sdk/lib/svg/dartium/svg_dartium.dart ('k') | tools/dom/templates/html/impl/impl_SVGColor.darttemplate » ('j') | 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 4bc95a5d6ef945c004304cbe42184d4a094da5d6..59ac5720b62f4cd7d735dff5c22333ff05f79b78 100644
--- a/tools/dom/scripts/systemnative.py
+++ b/tools/dom/scripts/systemnative.py
@@ -152,6 +152,9 @@ class DartiumBackend(HtmlDartGenerator):
# Emit internal constructor which is necessary for Dartium bindings
# to construct wrappers from C++. Eventually it should go away
# once it is possible to construct such an instance directly.
+ if not self._members_emitter:
+ return
+
super_constructor = ''
if base_class and base_class != 'NativeFieldWrapperClass1':
super_constructor = ' : super.internal()'
« no previous file with comments | « sdk/lib/svg/dartium/svg_dartium.dart ('k') | tools/dom/templates/html/impl/impl_SVGColor.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698