| Index: extensions/renderer/programmatic_script_injector.cc
|
| diff --git a/extensions/renderer/programmatic_script_injector.cc b/extensions/renderer/programmatic_script_injector.cc
|
| index f393f9e213a299cf1244d467752264942bd426a6..281a79cbb411ccd0a5c81e9a9cb13496fa03044c 100644
|
| --- a/extensions/renderer/programmatic_script_injector.cc
|
| +++ b/extensions/renderer/programmatic_script_injector.cc
|
| @@ -82,6 +82,7 @@ PermissionsData::AccessType ProgrammaticScriptInjector::CanExecuteOnFrame(
|
| ? PermissionsData::ACCESS_ALLOWED
|
| : PermissionsData::ACCESS_DENIED;
|
| }
|
| + DCHECK(injection_host->id().type() == HostID::EXTENSIONS);
|
|
|
| return injection_host->CanExecuteOnFrame(
|
| effective_document_url, top_url, tab_id, true /* is_declarative */);
|
|
|