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

Unified Diff: chrome/browser/ui/views/tabs/tab_drag_controller.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
Index: chrome/browser/ui/views/tabs/tab_drag_controller.cc
diff --git a/chrome/browser/ui/views/tabs/tab_drag_controller.cc b/chrome/browser/ui/views/tabs/tab_drag_controller.cc
index 82b4d769b7bb67b55a6d1a69bf62cd2333533657..049cd949da24fcc86ec80fcc859c3710fc5ea27a 100644
--- a/chrome/browser/ui/views/tabs/tab_drag_controller.cc
+++ b/chrome/browser/ui/views/tabs/tab_drag_controller.cc
@@ -1748,9 +1748,7 @@ Browser* TabDragController::CreateBrowserForDrag(
Profile* profile =
Profile::FromBrowserContext(drag_data_[0].contents->GetBrowserContext());
- Browser::CreateParams create_params(Browser::TYPE_TABBED,
- profile,
- host_desktop_type_);
+ Browser::CreateParams create_params(Browser::TYPE_TABBED, profile);
create_params.initial_bounds = new_bounds;
Browser* browser = new Browser(create_params);
is_dragging_new_browser_ = true;

Powered by Google App Engine
This is Rietveld 408576698