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

Unified Diff: chrome/browser/ui/bookmarks/bookmark_bubble_sign_in_delegate.cc

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
« no previous file with comments | « chrome/browser/ui/bookmarks/bookmark_bubble_sign_in_delegate.h ('k') | chrome/browser/ui/browser.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/bookmarks/bookmark_bubble_sign_in_delegate.cc
diff --git a/chrome/browser/ui/bookmarks/bookmark_bubble_sign_in_delegate.cc b/chrome/browser/ui/bookmarks/bookmark_bubble_sign_in_delegate.cc
index f64655ba7ed91aca3cbbb04030ab5c21862ef3c5..21c91186b0b8347ccb60a96457b0aefbfb13cbe7 100644
--- a/chrome/browser/ui/bookmarks/bookmark_bubble_sign_in_delegate.cc
+++ b/chrome/browser/ui/bookmarks/bookmark_bubble_sign_in_delegate.cc
@@ -14,8 +14,7 @@
BookmarkBubbleSignInDelegate::BookmarkBubbleSignInDelegate(Browser* browser)
: browser_(browser),
- profile_(browser->profile()),
- desktop_type_(browser->host_desktop_type()) {
+ profile_(browser->profile()) {
BrowserList::AddObserver(this);
}
@@ -39,8 +38,7 @@ void BookmarkBubbleSignInDelegate::EnsureBrowser() {
Profile* original_profile = profile_->GetOriginalProfile();
browser_ = chrome::FindLastActiveWithProfile(original_profile);
if (!browser_) {
- browser_ = new Browser(Browser::CreateParams(original_profile,
- desktop_type_));
+ browser_ = new Browser(Browser::CreateParams(original_profile));
}
}
}
« no previous file with comments | « chrome/browser/ui/bookmarks/bookmark_bubble_sign_in_delegate.h ('k') | chrome/browser/ui/browser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698