| Index: content/browser/child_process_security_policy.cc
|
| ===================================================================
|
| --- content/browser/child_process_security_policy.cc (revision 113019)
|
| +++ content/browser/child_process_security_policy.cc (working copy)
|
| @@ -10,6 +10,7 @@
|
| #include "base/platform_file.h"
|
| #include "base/stl_util.h"
|
| #include "base/string_util.h"
|
| +#include "content/public/browser/content_browser_client.h"
|
| #include "content/browser/site_instance.h"
|
| #include "content/public/common/bindings_policy.h"
|
| #include "content/public/common/url_constants.h"
|
| @@ -382,8 +383,10 @@
|
| return false;
|
| }
|
|
|
| - if (!net::URLRequest::IsHandledURL(url))
|
| + if (!content::GetContentClient()->browser()->IsHandledURL(url) &&
|
| + !net::URLRequest::IsHandledURL(url)) {
|
| return true; // This URL request is destined for ShellExecute.
|
| + }
|
|
|
| {
|
| base::AutoLock lock(lock_);
|
|
|