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

Unified Diff: chrome/browser/ui/cocoa/profiles/avatar_icon_controller_unittest.mm

Issue 1662783002: Remove HostDesktopType from Browser::CreateParams (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@metro-mode-12
Patch Set: remove desktop_type_ in bookmark_bubble_sign_in_delegate 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/ui/cocoa/profiles/avatar_icon_controller_unittest.mm
diff --git a/chrome/browser/ui/cocoa/profiles/avatar_icon_controller_unittest.mm b/chrome/browser/ui/cocoa/profiles/avatar_icon_controller_unittest.mm
index 46501ef59c1221c1bd87c1ba6e4604b939f51f5f..e72b58872e6d4b043a9f184c98de4bb55ce73e8d 100644
--- a/chrome/browser/ui/cocoa/profiles/avatar_icon_controller_unittest.mm
+++ b/chrome/browser/ui/cocoa/profiles/avatar_icon_controller_unittest.mm
@@ -51,8 +51,7 @@ class AvatarIconControllerTest : public CocoaProfileTest {
TEST_F(AvatarIconControllerTest, ShowingAvatarIconInIncognito) {
Browser* browser =
- new Browser(Browser::CreateParams(profile()->GetOffTheRecordProfile(),
- chrome::GetActiveDesktop()));
+ new Browser(Browser::CreateParams(profile()->GetOffTheRecordProfile()));
BrowserWindowCocoa* window =
static_cast<BrowserWindowCocoa*>(browser->window());
AvatarBaseController* icon_controller =

Powered by Google App Engine
This is Rietveld 408576698