| Index: chrome/browser/ui/views/profiles/signin_view_controller.cc
|
| diff --git a/chrome/browser/ui/views/profiles/signin_view_controller.cc b/chrome/browser/ui/views/profiles/signin_view_controller.cc
|
| index f394d78408ff2afa47eca6dbaaaba4172cec6ef9..188e86782dfbaaea2e20966a6257b58b0c3cc907 100644
|
| --- a/chrome/browser/ui/views/profiles/signin_view_controller.cc
|
| +++ b/chrome/browser/ui/views/profiles/signin_view_controller.cc
|
| @@ -11,7 +11,7 @@
|
| #include "chrome/browser/signin/signin_promo.h"
|
| #include "chrome/browser/ui/browser.h"
|
| #include "chrome/browser/ui/tabs/tab_strip_model.h"
|
| -#include "chrome/browser/ui/webui/signin/inline_login_ui.h"
|
| +#include "chrome/browser/ui/webui/signin/get_auth_frame.h"
|
| #include "components/constrained_window/constrained_window_views.h"
|
| #include "components/signin/core/browser/signin_error_controller.h"
|
| #include "components/signin/core/common/profile_management_switches.h"
|
| @@ -154,8 +154,8 @@ class ModalSigninDelegate : public views::DialogDelegateView,
|
|
|
| // views::ButtonListener:
|
| void ButtonPressed(views::Button* sender, const ui::Event& event) override {
|
| - auto auth_web_contents = InlineLoginUI::GetAuthFrameWebContents(
|
| - content_view_->GetWebContents(), GURL(), "signin-frame");
|
| + auto auth_web_contents = signin::GetAuthFrameWebContents(
|
| + content_view_->GetWebContents(), "signin-frame");
|
| if (auth_web_contents) {
|
| if (auth_web_contents->GetController().CanGoBack())
|
| auth_web_contents->GetController().GoBack();
|
| @@ -168,8 +168,8 @@ class ModalSigninDelegate : public views::DialogDelegateView,
|
| // content::WebContentsDelegate
|
| void LoadingStateChanged(
|
| content::WebContents* source, bool to_different_document) override {
|
| - auto auth_web_contents = InlineLoginUI::GetAuthFrameWebContents(
|
| - content_view_->GetWebContents(), GURL(), "signin-frame");
|
| + auto auth_web_contents = signin::GetAuthFrameWebContents(
|
| + content_view_->GetWebContents(), "signin-frame");
|
| if (auth_web_contents) {
|
| if (auth_web_contents->GetController().CanGoBack())
|
| host_view_->ShowBackArrow();
|
|
|