diff options
Diffstat (limited to 'chrome/browser/extensions/api/automation_internal/automation_internal_api.cc')
-rw-r--r-- | chrome/browser/extensions/api/automation_internal/automation_internal_api.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/extensions/api/automation_internal/automation_internal_api.cc b/chrome/browser/extensions/api/automation_internal/automation_internal_api.cc index ff816df..cf03b4b 100644 --- a/chrome/browser/extensions/api/automation_internal/automation_internal_api.cc +++ b/chrome/browser/extensions/api/automation_internal/automation_internal_api.cc @@ -59,7 +59,7 @@ bool CanRequestAutomation(const Extension* extension, content::RenderProcessHost* process = contents->GetRenderProcessHost(); int process_id = process ? process->GetID() : -1; std::string unused_error; - return PermissionsData::ForExtension(extension)->CanExecuteScriptOnPage( + return extension->permissions_data()->CanExecuteScriptOnPage( extension, url, url, tab_id, NULL, process_id, &unused_error); } |