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

Unified Diff: content/renderer/pepper/pepper_camera_device_host.cc

Issue 2882133002: Block insecure pepper media requests in the renderer (Closed)
Patch Set: Block insecure pepper media requests Created 3 years, 7 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: content/renderer/pepper/pepper_camera_device_host.cc
diff --git a/content/renderer/pepper/pepper_camera_device_host.cc b/content/renderer/pepper/pepper_camera_device_host.cc
index cf199e23c3a393e2e05c8a15d31e13d1ee9da423..81381b399e972ae68187b1d5c579cc7e3247bf53 100644
--- a/content/renderer/pepper/pepper_camera_device_host.cc
+++ b/content/renderer/pepper/pepper_camera_device_host.cc
@@ -90,7 +90,7 @@ int32_t PepperCameraDeviceHost::OnOpen(ppapi::host::HostMessageContext* context,
platform_camera_device_.reset(new PepperPlatformCameraDevice(
renderer_ppapi_host_->GetRenderFrameForInstance(pp_instance())
->GetRoutingID(),
- device_id, document_url, this));
+ device_id, this));
open_reply_context_ = context->MakeReplyMessageContext();
« no previous file with comments | « content/renderer/pepper/pepper_audio_input_host.cc ('k') | content/renderer/pepper/pepper_media_device_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698