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

Unified Diff: lib/html/scripts/systemnative.py

Issue 11091046: Move interface merging info to type registry. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 2 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 | « lib/html/scripts/systemhtml.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/html/scripts/systemnative.py
diff --git a/lib/html/scripts/systemnative.py b/lib/html/scripts/systemnative.py
index 0eeffb5b6cfdca0f2da564120dd6a3aad1e560c2..187a272290bdcaf73e6f59298a4a4030f3e23783 100644
--- a/lib/html/scripts/systemnative.py
+++ b/lib/html/scripts/systemnative.py
@@ -22,9 +22,6 @@ class DartiumBackend(object):
self._type_registry = options.type_registry
self._html_interface_name = options.renamer.RenameInterface(self._interface)
- def HasImplementation(self):
- return not IsPureInterface(self._interface.id)
-
def ImplementationClassName(self):
return self._ImplClassName(self._interface.id)
@@ -114,7 +111,7 @@ class DartiumBackend(object):
def StartInterface(self, memebers_emitter):
# Create emitters for c++ implementation.
- if self.HasImplementation():
+ if not IsPureInterface(self._interface.id):
self._cpp_header_emitter = self._cpp_library_emitter.CreateHeaderEmitter(self._interface.id)
self._cpp_impl_emitter = self._cpp_library_emitter.CreateSourceEmitter(self._interface.id)
else:
« no previous file with comments | « lib/html/scripts/systemhtml.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698