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

Unified Diff: sdk/lib/web_sql/dartium/web_sql_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/web_gl/dartium/web_gl_dartium.dart ('k') | tools/dom/scripts/systemhtml.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/web_sql/dartium/web_sql_dartium.dart
diff --git a/sdk/lib/web_sql/dartium/web_sql_dartium.dart b/sdk/lib/web_sql/dartium/web_sql_dartium.dart
index 6a7afbc2f8c448b417f1e857098a69d64fbe66b3..e7f9bb06a6e5e2adb2331101928cbcf105db09f7 100644
--- a/sdk/lib/web_sql/dartium/web_sql_dartium.dart
+++ b/sdk/lib/web_sql/dartium/web_sql_dartium.dart
@@ -118,6 +118,7 @@ class SqlDatabase extends NativeFieldWrapperClass2 {
SqlDatabase.internal_() { }
bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+ int get hashCode => unwrap_jso(this).hashCode;
/// Checks if this type is supported on the current platform.
static bool get supported => true;
@@ -198,6 +199,7 @@ class SqlError extends NativeFieldWrapperClass2 {
SqlError.internal_() { }
bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+ int get hashCode => unwrap_jso(this).hashCode;
@DomName('SQLError.CONSTRAINT_ERR')
@DocsEditable()
@@ -268,6 +270,7 @@ class SqlResultSet extends NativeFieldWrapperClass2 {
SqlResultSet.internal_() { }
bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+ int get hashCode => unwrap_jso(this).hashCode;
@DomName('SQLResultSet.insertId')
@DocsEditable()
@@ -310,6 +313,7 @@ class SqlResultSetRowList extends NativeFieldWrapperClass2 with ListMixin<Map>,
SqlResultSetRowList.internal_() { }
bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+ int get hashCode => unwrap_jso(this).hashCode;
@DomName('SQLResultSetRowList.length')
@DocsEditable()
@@ -397,6 +401,7 @@ class SqlTransaction extends NativeFieldWrapperClass2 {
SqlTransaction.internal_() { }
bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+ int get hashCode => unwrap_jso(this).hashCode;
@DomName('SQLTransaction.executeSql')
@DocsEditable()
« no previous file with comments | « sdk/lib/web_gl/dartium/web_gl_dartium.dart ('k') | tools/dom/scripts/systemhtml.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698