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

Unified Diff: chrome/browser/notifications/platform_notification_service_impl.cc

Issue 1662783002: Remove HostDesktopType from Browser::CreateParams (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@metro-mode-12
Patch Set: dcheck Created 4 years, 10 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/notifications/platform_notification_service_impl.cc
diff --git a/chrome/browser/notifications/platform_notification_service_impl.cc b/chrome/browser/notifications/platform_notification_service_impl.cc
index 2bb49e3accf09a8d63279b1221ca4cb3ee6b5a12..346e87fee0e336d7e2e58de8090136e48af7a64a 100644
--- a/chrome/browser/notifications/platform_notification_service_impl.cc
+++ b/chrome/browser/notifications/platform_notification_service_impl.cc
@@ -526,8 +526,7 @@ void PlatformNotificationServiceImpl::OpenNotificationSettings(
chrome::ShowContentSettingsExceptionsInWindow(
profile, CONTENT_SETTINGS_TYPE_NOTIFICATIONS);
} else {
- chrome::ScopedTabbedBrowserDisplayer browser_displayer(
- profile, chrome::GetActiveDesktop());
+ chrome::ScopedTabbedBrowserDisplayer browser_displayer(profile);
chrome::ShowContentSettingsExceptions(browser_displayer.browser(),
CONTENT_SETTINGS_TYPE_NOTIFICATIONS);
}

Powered by Google App Engine
This is Rietveld 408576698