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

Unified Diff: lib/html/dart2js/html_dart2js.dart

Issue 10869056: SQLResultRowList.item converts row into map. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: rebase Created 8 years, 4 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:
Download patch
« no previous file with comments | « lib/dom/idl/dart/dart.idl ('k') | lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/html/dart2js/html_dart2js.dart
diff --git a/lib/html/dart2js/html_dart2js.dart b/lib/html/dart2js/html_dart2js.dart
index dca6f89e9459a8438f85e4874192ed9c9f0a0076..078bc328e3988728cf0d4a5de934e6ba373ca5b5 100644
--- a/lib/html/dart2js/html_dart2js.dart
+++ b/lib/html/dart2js/html_dart2js.dart
@@ -11170,7 +11170,10 @@ class _SQLResultSetRowListImpl implements SQLResultSetRowList native "*SQLResult
final int length;
- Object item(int index) native;
+ Map item(int index) {
+ return _convertNativeToDart_Dictionary(_item_1(index));
+ }
+ _item_1(index) native "item";
}
class _SQLTransactionImpl implements SQLTransaction native "*SQLTransaction" {
@@ -29460,7 +29463,7 @@ interface SQLResultSetRowList {
final int length;
/** @domName SQLResultSetRowList.item */
- Object item(int index);
+ Map item(int index);
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -37779,11 +37782,7 @@ get _functionRegistry {
/// Object proxy implementation.
class _DartProxyRegistry extends _Registry<Object> {
- final ReceivePortSync _port;
-
- _DartProxyRegistry() :
- super('dart-ref'),
- _port = new ReceivePortSync() {
+ _DartProxyRegistry() : super('dart-ref') {
_port.receive((msg) {
// TODO(vsm): Support a mechanism to register a handler here.
throw 'Invocation unsupported on Dart proxies';
« no previous file with comments | « lib/dom/idl/dart/dart.idl ('k') | lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698