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

Unified Diff: ppapi/tests/test_video_destination.cc

Issue 121203002: Use window.URL instead of window.webkitURL. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years 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 b06abcb4b066cb8afb009d8fcdbac33037cff68a..f3c4cf8a79fece91eea9009b1a0f5060d6dec6d4 100644
--- a/ppapi/tests/test_video_destination.cc
+++ b/ppapi/tests/test_video_destination.cc
@@ -101,7 +101,7 @@ std::string TestVideoDestination::TestCreate() {
std::string TestVideoDestination::TestPutFrame() {
std::string js_code;
js_code += "var test_stream = new webkitMediaStream([]);"
- "var url = webkitURL.createObjectURL(test_stream);"
+ "var url = URL.createObjectURL(test_stream);"
"var plugin = document.getElementById('plugin');"
"plugin.postMessage(url);";
instance_->EvalScript(js_code);

Powered by Google App Engine
This is Rietveld 408576698