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

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

Issue 35863006: Fix for getContextAttributes which wraps bare dictionary into a Dart type. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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: tools/dom/scripts/dartmetadata.py
diff --git a/tools/dom/scripts/dartmetadata.py b/tools/dom/scripts/dartmetadata.py
index c0104c2f87c3d4568ced0830100c6c92bf38e2ba..6208889abf01480e0c7ea70bab7708774d4d75e7 100644
--- a/tools/dom/scripts/dartmetadata.py
+++ b/tools/dom/scripts/dartmetadata.py
@@ -315,6 +315,10 @@ _dart2js_annotations = monitored.Dict('dartmetadata._dart2js_annotations', {
"|Uint32List|Framebuffer|Renderbuffer|Texture')",
],
+ 'WebGLRenderingContext.getContextAttributes': [
+ "@Creates('ContextAttributes|=Object')",
+ ],
+
'XMLHttpRequest.response': [
"@Creates('ByteBuffer|Blob|Document|=Object|JSExtendableArray|String"
"|num')",

Powered by Google App Engine
This is Rietveld 408576698