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

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

Issue 2685333005: ash: fix regression where ctrl+n put new window on wrong desktop (Closed)
Patch Set: Rebase to ToT Created 3 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 e5170950318cdfb3002b51da9223081f1f732874..18fe91c9eb00f65f006369cef4349bee84095d93 100644
--- a/chrome/browser/ui/cocoa/profiles/avatar_icon_controller_unittest.mm
+++ b/chrome/browser/ui/cocoa/profiles/avatar_icon_controller_unittest.mm
@@ -49,8 +49,8 @@ class AvatarIconControllerTest : public CocoaProfileTest {
};
TEST_F(AvatarIconControllerTest, ShowingAvatarIconInIncognito) {
- Browser* browser =
- new Browser(Browser::CreateParams(profile()->GetOffTheRecordProfile()));
+ Browser* browser = new Browser(
+ Browser::CreateParams(profile()->GetOffTheRecordProfile(), true));
BrowserWindowCocoa* window =
static_cast<BrowserWindowCocoa*>(browser->window());
AvatarBaseController* icon_controller =

Powered by Google App Engine
This is Rietveld 408576698