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

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

Issue 1987073002: Strip unused functionality from dart:html and fix strong mode errors. Switch from blacklisting pure… (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 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: tools/dom/scripts/systemnative.py
diff --git a/tools/dom/scripts/systemnative.py b/tools/dom/scripts/systemnative.py
index 1f5a030fc6a581a4e7d0be8b5653a33e8b038bf0..f6284abc7dae626ef33f8fc9125448d34708086a 100644
--- a/tools/dom/scripts/systemnative.py
+++ b/tools/dom/scripts/systemnative.py
@@ -193,7 +193,7 @@ class DartiumBackend(HtmlDartGenerator):
def StartInterface(self, members_emitter):
# Create emitters for c++ implementation.
- if not IsPureInterface(self._interface.id) and \
+ if not IsPureInterface(self._interface.id, self._database) and \
not IsCustomType(self._interface.id):
self._cpp_header_emitter = self._cpp_library_emitter.CreateHeaderEmitter(
self._interface.id,
@@ -951,7 +951,7 @@ class DartiumBackend(HtmlDartGenerator):
full_dart_name = \
self.DeriveQualifiedBlinkName(self._interface.id,
dart_native_name)
- if IsPureInterface(self._interface.id):
+ if IsPureInterface(self._interface.id, self._database):
caller_emitter.Emit(
'\n'
' $METADATA$DART_DECLARATION;\n',

Powered by Google App Engine
This is Rietveld 408576698