Index: tools/dom/templates/html/impl/impl_MediaStream.darttemplate |
diff --git a/tools/dom/templates/html/impl/impl_MediaStream.darttemplate b/tools/dom/templates/html/impl/impl_MediaStream.darttemplate |
index 0df739b9e5bd6504f1db910f386f0c717894a3e7..ba80d870bd8ab04a51a18ac7bc7cabe1668cde9e 100644 |
--- a/tools/dom/templates/html/impl/impl_MediaStream.darttemplate |
+++ b/tools/dom/templates/html/impl/impl_MediaStream.darttemplate |
@@ -14,7 +14,6 @@ $!MEMBERS |
* |
* * [Navigator.getUserMedia] |
*/ |
-$if DART2JS |
static bool get supported => |
JS('bool', '''!!(#.getUserMedia || #.webkitGetUserMedia || |
#.mozGetUserMedia || #.msGetUserMedia)''', |
@@ -22,7 +21,4 @@ $if DART2JS |
window.navigator, |
window.navigator, |
window.navigator); |
-$else |
- static bool get supported => true; |
-$endif |
} |