Index: content/renderer/p2p/port_allocator.cc |
diff --git a/content/renderer/p2p/port_allocator.cc b/content/renderer/p2p/port_allocator.cc |
index 53753f59676950b0328a101d44329aa6cfcedaca..2146b9cc1a581353af1bf192d48ebf54eb85fe4c 100644 |
--- a/content/renderer/p2p/port_allocator.cc |
+++ b/content/renderer/p2p/port_allocator.cc |
@@ -177,8 +177,13 @@ void P2PPortAllocatorSession::AllocateRelaySession() { |
WebURLLoaderOptions options; |
options.allowCredentials = false; |
+ |
+ // TODO(sergeyu): Set to CrossOriginRequestPolicyUseAccessControl |
+ // when this code can be used by untrusted plugins. |
+ // See http://crbug.com/104195 . |
options.crossOriginRequestPolicy = |
- WebURLLoaderOptions::CrossOriginRequestPolicyUseAccessControl; |
+ WebURLLoaderOptions::CrossOriginRequestPolicyAllow; |
+ |
relay_session_request_.reset( |
allocator_->web_frame_->createAssociatedURLLoader(options)); |
if (!relay_session_request_.get()) { |