summaryrefslogtreecommitdiffstats
path: root/chrome/browser/child_process_security_policy.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/child_process_security_policy.cc')
-rw-r--r--chrome/browser/child_process_security_policy.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/chrome/browser/child_process_security_policy.cc b/chrome/browser/child_process_security_policy.cc
index 67b8a7c..0aed464 100644
--- a/chrome/browser/child_process_security_policy.cc
+++ b/chrome/browser/child_process_security_policy.cc
@@ -273,12 +273,6 @@ void ChildProcessSecurityPolicy::GrantScheme(int renderer_id,
state->second->GrantScheme(scheme);
}
-void ChildProcessSecurityPolicy::GrantInspectElement(int renderer_id) {
- // The inspector is served from a chrome: URL. In order to run the
- // inspector, the renderer needs to be able to load chrome: URLs.
- GrantScheme(renderer_id, chrome::kChromeUIScheme);
-}
-
void ChildProcessSecurityPolicy::GrantDOMUIBindings(int renderer_id) {
AutoLock lock(lock_);