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

Unified Diff: sdk/lib/html/html_common/conversions_dartium.dart

Issue 1752153002: Fixed Dictionary emitted as interface and dictionary conversion with a null map (Closed) Base URL: git@github.com:dart-lang/sdk.git@integration
Patch Set: Updated to latest blink and fixed in integration Created 4 years, 10 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 | « no previous file | tools/deps/dartium.deps/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/html_common/conversions_dartium.dart
diff --git a/sdk/lib/html/html_common/conversions_dartium.dart b/sdk/lib/html/html_common/conversions_dartium.dart
index 03b2d345b564287753c7ce392025129498a79c0b..371997d6f1c89bddfadaf3f241539e828287626c 100644
--- a/sdk/lib/html/html_common/conversions_dartium.dart
+++ b/sdk/lib/html/html_common/conversions_dartium.dart
@@ -115,7 +115,7 @@ class _ReturnedDictionary {
Map get toMap => _values;
- _ReturnedDictionary(Map value): _values = value;
+ _ReturnedDictionary(Map value): _values = value ? value != null : {};
Jacob 2016/03/01 23:58:29 I think the cases are reversed. Did you mean _valu
}
// Helper function to wrapped a returned dictionary from blink to a Dart looking
« no previous file with comments | « no previous file | tools/deps/dartium.deps/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698