Index: sdk/lib/js/dartium/js_dartium.dart |
diff --git a/sdk/lib/js/dartium/js_dartium.dart b/sdk/lib/js/dartium/js_dartium.dart |
index eaf78716687ca532518dfecc137a45c1612508ed..13e701230724d32c0d714672d5169ed482ae7a78 100644 |
--- a/sdk/lib/js/dartium/js_dartium.dart |
+++ b/sdk/lib/js/dartium/js_dartium.dart |
@@ -733,7 +733,7 @@ void setDartHtmlWrapperFor(JsObject object, wrapper) { |
* wrap_jso defined in dart:html. |
*/ |
unwrap_jso(dartClass_instance) { |
- if (dartClass_instance is NativeFieldWrapperClass2 && dartClass_instance is! JsObject) |
+ if (dartClass_instance is html.DartHtmlDomObject) |
return dartClass_instance.blink_jsObject; |
else |
return dartClass_instance; |