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

Unified Diff: ppapi/tests/test_video_destination.cc

Issue 2365883002: Expose the MediaStream interface (Closed)
Patch Set: drop TODO Created 4 years, 3 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
Index: ppapi/tests/test_video_destination.cc
diff --git a/ppapi/tests/test_video_destination.cc b/ppapi/tests/test_video_destination.cc
index f3c4cf8a79fece91eea9009b1a0f5060d6dec6d4..367b0029cc1689ced2b4b0f010a5dec4c138566f 100644
--- a/ppapi/tests/test_video_destination.cc
+++ b/ppapi/tests/test_video_destination.cc
@@ -100,7 +100,7 @@ std::string TestVideoDestination::TestCreate() {
std::string TestVideoDestination::TestPutFrame() {
std::string js_code;
- js_code += "var test_stream = new webkitMediaStream([]);"
+ js_code += "var test_stream = new MediaStream([]);"
"var url = URL.createObjectURL(test_stream);"
"var plugin = document.getElementById('plugin');"
"plugin.postMessage(url);";
@@ -124,4 +124,3 @@ std::string TestVideoDestination::TestPutFrame() {
PASS();
}
-

Powered by Google App Engine
This is Rietveld 408576698