Chromium Code Reviews| Index: webkit/plugins/ppapi/ppb_url_loader_impl.cc |
| diff --git a/webkit/plugins/ppapi/ppb_url_loader_impl.cc b/webkit/plugins/ppapi/ppb_url_loader_impl.cc |
| index 7920cca8e97461416e425be40d833ff6f827bc65..6c4e4b336654078efc38eb35c656c79388e2a419 100644 |
| --- a/webkit/plugins/ppapi/ppb_url_loader_impl.cc |
| +++ b/webkit/plugins/ppapi/ppb_url_loader_impl.cc |
| @@ -242,6 +242,10 @@ int32_t PPB_URLLoader_Impl::Open(PPB_URLRequestInfo_Impl* request, |
| if (rv != PP_OK) |
| return rv; |
| + if (request->RequiresUniversalAccess() && |
| + !has_universal_access_) |
|
brettw
2011/03/11 23:31:05
This should fit on one line.
viettrungluu
2011/03/14 17:13:53
Done.
|
| + return PP_ERROR_BADARGUMENT; |
| + |
| if (loader_.get()) |
| return PP_ERROR_INPROGRESS; |