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

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

Issue 1661713002: Remove the rest of HostDesktopType from c/b/ui/browser_finder.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@metro-mode-11
Patch Set: linux adl 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/chrome_extension_function.cc
diff --git a/chrome/browser/extensions/chrome_extension_function.cc b/chrome/browser/extensions/chrome_extension_function.cc
index 9519a5f588ac50a809416f5c25cd10ab5c568efb..ac164be3ab054865acd4fddfef30d0a99779870b 100644
--- a/chrome/browser/extensions/chrome_extension_function.cc
+++ b/chrome/browser/extensions/chrome_extension_function.cc
@@ -51,8 +51,7 @@ Browser* ChromeUIThreadExtensionFunction::GetCurrentBrowser() {
if (web_contents) {
Profile* profile =
Profile::FromBrowserContext(web_contents->GetBrowserContext());
- Browser* browser = chrome::FindAnyBrowser(
- profile, include_incognito_, chrome::GetActiveDesktop());
+ Browser* browser = chrome::FindAnyBrowser(profile, include_incognito_);
if (browser)
return browser;
}
« no previous file with comments | « chrome/browser/extensions/app_process_apitest.cc ('k') | chrome/browser/extensions/chrome_extension_function_details.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698