Index: tools/dom/templates/html/impl/impl_Navigator.darttemplate |
diff --git a/tools/dom/templates/html/impl/impl_Navigator.darttemplate b/tools/dom/templates/html/impl/impl_Navigator.darttemplate |
index 2cb5dddd5806403dfbb411c32ebcee5ccceb39da..fff57fefeca2bd33704349191ed5d0dacf1fe50c 100644 |
--- a/tools/dom/templates/html/impl/impl_Navigator.darttemplate |
+++ b/tools/dom/templates/html/impl/impl_Navigator.darttemplate |
@@ -24,7 +24,7 @@ $endif |
* window.navigator.getUserMedia(audio: true, video: true).then((stream) { |
* var video = new VideoElement() |
* ..autoplay = true |
- * ..src = Url.createObjectUrlFromStream(stream); |
+ * ..src = Url.createObjectUrl(stream); |
* document.body.append(video); |
* }); |
* |