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

Unified Diff: chrome/browser/extensions/extension_error_ui_default.cc

Issue 1659203002: Remove HostDesktopType from FindLastActive[WithProfile] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nullptr Created 4 years, 11 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: chrome/browser/extensions/extension_error_ui_default.cc
diff --git a/chrome/browser/extensions/extension_error_ui_default.cc b/chrome/browser/extensions/extension_error_ui_default.cc
index eec4a436adfa756870a049b196e94410cbe0a39c..38f774e603cc2bae3d27c9302a5c12e0588078ec 100644
--- a/chrome/browser/extensions/extension_error_ui_default.cc
+++ b/chrome/browser/extensions/extension_error_ui_default.cc
@@ -27,8 +27,7 @@ ExtensionErrorUIDefault::~ExtensionErrorUIDefault() {
}
bool ExtensionErrorUIDefault::ShowErrorInBubbleView() {
- Browser* browser =
- chrome::FindLastActiveWithProfile(profile_, chrome::GetActiveDesktop());
+ Browser* browser = chrome::FindLastActiveWithProfile(profile_);
if (!browser)
return false;
« no previous file with comments | « chrome/browser/extensions/bundle_installer.cc ('k') | chrome/browser/extensions/webstore_inline_installer_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698