Index: chrome/browser/chromeos/login/captive_portal_window_proxy.cc |
diff --git a/chrome/browser/chromeos/login/captive_portal_window_proxy.cc b/chrome/browser/chromeos/login/captive_portal_window_proxy.cc |
index 648f8b5737911c13937b07f5b303f1f708d0684f..28c376d2f9b85aa8acb46e069ec5fc88e778bfd7 100644 |
--- a/chrome/browser/chromeos/login/captive_portal_window_proxy.cc |
+++ b/chrome/browser/chromeos/login/captive_portal_window_proxy.cc |
@@ -7,7 +7,7 @@ |
#include "chrome/browser/chromeos/login/captive_portal_view.h" |
#include "chrome/browser/chromeos/login/helper.h" |
#include "chrome/browser/chromeos/login/proxy_settings_dialog.h" |
-#include "chrome/browser/profiles/profile_manager.h" |
+#include "chrome/browser/chromeos/profiles/profile_helper.h" |
#include "ui/views/widget/widget.h" |
namespace { |
@@ -46,7 +46,7 @@ void CaptivePortalWindowProxy::ShowIfRedirected() { |
// Dialog is not initialized yet. |
if (!captive_portal_view_.get()) { |
captive_portal_view_.reset( |
- new CaptivePortalView(ProfileManager::GetDefaultProfile(), this)); |
+ new CaptivePortalView(ProfileHelper::GetSigninProfile(), this)); |
} |
// If dialog has been created (but not shown) previously, force reload. |