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); |