Index: chrome/browser/ui/browser_navigator_params.cc |
diff --git a/chrome/browser/ui/browser_navigator_params.cc b/chrome/browser/ui/browser_navigator_params.cc |
index 0e19598de3273f034271dd264c9f7dfbad65f42b..9617e55723b2ee07a1f6adecff452885d3a3ff3f 100644 |
--- a/chrome/browser/ui/browser_navigator_params.cc |
+++ b/chrome/browser/ui/browser_navigator_params.cc |
@@ -11,7 +11,6 @@ |
#if !defined(OS_ANDROID) |
#include "chrome/browser/ui/browser.h" |
-#include "chrome/browser/ui/host_desktop.h" |
#endif |
using content::GlobalRequestID; |
@@ -20,18 +19,6 @@ using content::WebContents; |
namespace chrome { |
-#if !defined(OS_ANDROID) |
-namespace { |
- |
-HostDesktopType GetHostDesktop(Browser* browser) { |
- if (browser) |
- return browser->host_desktop_type(); |
- return GetActiveDesktop(); |
-} |
- |
-} // namespace |
-#endif |
- |
#if defined(OS_ANDROID) |
NavigateParams::NavigateParams(WebContents* a_target_contents) |
: frame_tree_node_id(-1), |
@@ -49,7 +36,6 @@ NavigateParams::NavigateParams(WebContents* a_target_contents) |
path_behavior(RESPECT), |
ref_behavior(IGNORE_REF), |
initiating_profile(nullptr), |
- host_desktop_type(GetActiveDesktop()), |
should_replace_current_entry(false), |
created_with_opener(false) { |
} |
@@ -74,7 +60,6 @@ NavigateParams::NavigateParams(Browser* a_browser, |
ref_behavior(IGNORE_REF), |
browser(a_browser), |
initiating_profile(NULL), |
- host_desktop_type(GetHostDesktop(a_browser)), |
should_replace_current_entry(false), |
created_with_opener(false) { |
} |
@@ -97,7 +82,6 @@ NavigateParams::NavigateParams(Browser* a_browser, |
ref_behavior(IGNORE_REF), |
browser(a_browser), |
initiating_profile(NULL), |
- host_desktop_type(GetHostDesktop(a_browser)), |
should_replace_current_entry(false), |
created_with_opener(false) { |
} |
@@ -125,7 +109,6 @@ NavigateParams::NavigateParams(Profile* a_profile, |
browser(NULL), |
#endif |
initiating_profile(a_profile), |
- host_desktop_type(GetActiveDesktop()), |
should_replace_current_entry(false), |
created_with_opener(false) { |
} |