| Index: extensions/renderer/web_ui_injection_host.cc
|
| diff --git a/extensions/renderer/web_ui_injection_host.cc b/extensions/renderer/web_ui_injection_host.cc
|
| index 5c6e1175c8810d4845b94f00f7fc5d3bbe82c3d0..42285e4027c10d8436632ca50e9d8a6660e307eb 100644
|
| --- a/extensions/renderer/web_ui_injection_host.cc
|
| +++ b/extensions/renderer/web_ui_injection_host.cc
|
| @@ -25,10 +25,10 @@ const std::string& WebUIInjectionHost::name() const {
|
| }
|
|
|
| extensions::PermissionsData::AccessType WebUIInjectionHost::CanExecuteOnFrame(
|
| - const GURL& document_url,
|
| - const GURL& top_frame_url,
|
| - int tab_id,
|
| - bool is_declarative) const {
|
| + const GURL& document_url,
|
| + blink::WebFrame* web_frame,
|
| + int tab_id,
|
| + bool is_declarative) const {
|
| // Content scripts are allowed to inject on webviews created by WebUI.
|
| return extensions::PermissionsData::AccessType::ACCESS_ALLOWED;
|
| }
|
|
|