| Index: extensions/browser/app_window/app_window.cc
|
| diff --git a/extensions/browser/app_window/app_window.cc b/extensions/browser/app_window/app_window.cc
|
| index 77da594a4b06a99309a4374957fc6ef5a0be9570..9c8d8a8ed795630204f9044cf30029194caae28c 100644
|
| --- a/extensions/browser/app_window/app_window.cc
|
| +++ b/extensions/browser/app_window/app_window.cc
|
| @@ -925,8 +925,8 @@ void AppWindow::ToggleFullscreenModeForTab(content::WebContents* source,
|
| if (!extension)
|
| return;
|
|
|
| - if (!IsExtensionWithPermissionOrSuggestInConsole(
|
| - APIPermission::kFullscreen, extension, source->GetRenderViewHost())) {
|
| + if (!IsExtensionWithPermissionOrSuggestInConsole(APIPermission::kFullscreen,
|
| + extension, source)) {
|
| return;
|
| }
|
|
|
|
|