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..70d551570d9f6f136865b374754f68dfb4e08f65 100644 |
--- a/content/renderer/p2p/port_allocator.cc |
+++ b/content/renderer/p2p/port_allocator.cc |
@@ -177,8 +177,12 @@ void P2PPortAllocatorSession::AllocateRelaySession() { |
WebURLLoaderOptions options; |
options.allowCredentials = false; |
+ |
+ // TODO(sergeyu): Set to CrossOriginRequestPolicyUseAccessControl |
+ // when this code can be used by untrusted plugins. |
Wez
2011/11/14 21:00:47
Best to create a bug for this and refer to it here
|
options.crossOriginRequestPolicy = |
- WebURLLoaderOptions::CrossOriginRequestPolicyUseAccessControl; |
+ WebURLLoaderOptions::CrossOriginRequestPolicyAllow; |
+ |
relay_session_request_.reset( |
allocator_->web_frame_->createAssociatedURLLoader(options)); |
if (!relay_session_request_.get()) { |