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 fc7ca61360b1dba6bef2d672ce93ffc795d0028b..2eb2b8803cde18674bf510ce359eaf72ceea58f6 100644 |
--- a/sdk/lib/html/html_common/conversions_dartium.dart |
+++ b/sdk/lib/html/html_common/conversions_dartium.dart |
@@ -44,7 +44,7 @@ _getProto(object) { |
final _objectProto = js.context["Object"]["prototype"]; |
bool isJavaScriptSimpleObject(value) { |
- if (!value is js.JsObject) return false; |
+ if (value is! js.JsObject) return false; |
var proto = _getProto(value); |
return proto == _objectProto || proto == null; |
} |