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

Unified Diff: chrome/browser/extensions/api/tabs/tabs_api.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/api/tabs/tabs_api.cc
diff --git a/chrome/browser/extensions/api/tabs/tabs_api.cc b/chrome/browser/extensions/api/tabs/tabs_api.cc
index f1c4ddca13e3eb8bdddc2768a1c275e27206ea63..f7a11032eb8dba9598a9c0f87d46d9d2680541bc 100644
--- a/chrome/browser/extensions/api/tabs/tabs_api.cc
+++ b/chrome/browser/extensions/api/tabs/tabs_api.cc
@@ -912,8 +912,8 @@ bool TabsQueryFunction::RunSync() {
window_type = tabs::ToString(params->query_info.window_type);
base::ListValue* result = new base::ListValue();
- Browser* last_active_browser = chrome::FindAnyBrowser(
- GetProfile(), include_incognito(), chrome::GetActiveDesktop());
+ Browser* last_active_browser =
+ chrome::FindAnyBrowser(GetProfile(), include_incognito());
Browser* current_browser = GetCurrentBrowser();
for (auto* browser : *BrowserList::GetInstance()) {
if (!GetProfile()->IsSameProfile(browser->profile()))
« no previous file with comments | « chrome/browser/extensions/api/tab_capture/tab_capture_api.cc ('k') | chrome/browser/extensions/app_process_apitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698