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

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

Issue 11138028: Change return type to w3c standard of void for AudioBufferCallback. (Closed) Base URL: http://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
Index: lib/html/scripts/systemhtml.py
===================================================================
--- lib/html/scripts/systemhtml.py (revision 13752)
+++ lib/html/scripts/systemhtml.py (working copy)
@@ -219,9 +219,8 @@
info = AnalyzeOperation(self._interface, handlers)
Anton Muhin 2012/10/18 09:59:16 nit: you can move this line below and maybe even m
code = self._library_emitter.FileEmitter(self._interface.id)
code.Emit(self._template_loader.Load('callback.darttemplate'))
- code.Emit('typedef $TYPE $NAME($PARAMS);\n',
+ code.Emit('typedef void $NAME($PARAMS);\n',
NAME=self._interface.id,
- TYPE=self._DartType(info.type_name),
PARAMS=info.ParametersDeclaration(self._DartType))
self._backend.GenerateCallback(info)

Powered by Google App Engine
This is Rietveld 408576698