Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(224)

Unified Diff: extensions/browser/app_window/app_window.cc

Issue 1200503002: [Extensions] Kill off ExtensionMsg_AddMessageToConsole (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
}

Powered by Google App Engine
This is Rietveld 408576698