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

Unified Diff: sdk/lib/indexed_db/dartium/indexed_db_dartium.dart

Issue 1262723003: Add a hashCode that delegates to JS for everything that defines == (Closed) Base URL: git@github.com:dart-lang/sdk.git@integration
Patch Set: Created 5 years, 5 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 | « sdk/lib/html/dartium/html_dartium.dart ('k') | sdk/lib/svg/dartium/svg_dartium.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/indexed_db/dartium/indexed_db_dartium.dart
diff --git a/sdk/lib/indexed_db/dartium/indexed_db_dartium.dart b/sdk/lib/indexed_db/dartium/indexed_db_dartium.dart
index 05e004c9fa509e28699a6a90da9d4a5731735c72..7a191bd7e30018bc0075422600ac7b8000449391 100644
--- a/sdk/lib/indexed_db/dartium/indexed_db_dartium.dart
+++ b/sdk/lib/indexed_db/dartium/indexed_db_dartium.dart
@@ -179,6 +179,7 @@ class Cursor extends NativeFieldWrapperClass2 {
Cursor.internal_() { }
bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+ int get hashCode => unwrap_jso(this).hashCode;
@DomName('IDBCursor.direction')
@DocsEditable()
@@ -539,6 +540,7 @@ class IdbFactory extends NativeFieldWrapperClass2 {
IdbFactory.internal_() { }
bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+ int get hashCode => unwrap_jso(this).hashCode;
@DomName('IDBFactory.cmp')
@DocsEditable()
@@ -691,6 +693,7 @@ class Index extends NativeFieldWrapperClass2 {
Index.internal_() { }
bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+ int get hashCode => unwrap_jso(this).hashCode;
@DomName('IDBIndex.keyPath')
@DocsEditable()
@@ -781,6 +784,7 @@ class KeyRange extends NativeFieldWrapperClass2 {
KeyRange.internal_() { }
bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+ int get hashCode => unwrap_jso(this).hashCode;
@DomName('IDBKeyRange.lower')
@DocsEditable()
@@ -979,6 +983,7 @@ class ObjectStore extends NativeFieldWrapperClass2 {
ObjectStore.internal_() { }
bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+ int get hashCode => unwrap_jso(this).hashCode;
@DomName('IDBObjectStore.autoIncrement')
@DocsEditable()
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | sdk/lib/svg/dartium/svg_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698