| Index: chrome/browser/ui/views/login_prompt_views.cc
|
| diff --git a/chrome/browser/ui/views/login_prompt_views.cc b/chrome/browser/ui/views/login_prompt_views.cc
|
| index 033a7727baeaf2256cfb118a68e96fa13bbc3886..50bb3772206a38874e6e1bfcb26ba3bad93963d9 100644
|
| --- a/chrome/browser/ui/views/login_prompt_views.cc
|
| +++ b/chrome/browser/ui/views/login_prompt_views.cc
|
| @@ -8,7 +8,7 @@
|
| #include "base/utf_string_conversions.h"
|
| #include "chrome/browser/password_manager/password_manager.h"
|
| #include "chrome/browser/tab_contents/tab_util.h"
|
| -#include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
|
| +#include "chrome/browser/ui/tab_contents/tab_contents.h"
|
| #include "chrome/browser/ui/views/constrained_window_views.h"
|
| #include "chrome/browser/ui/views/login_view.h"
|
| #include "content/public/browser/browser_thread.h"
|
| @@ -127,9 +127,9 @@ class LoginHandlerViews : public LoginHandler,
|
| // will occur via an InvokeLater on the UI thread, which is guaranteed
|
| // to happen after this is called (since this was InvokeLater'd first).
|
| WebContents* requesting_contents = GetWebContentsForLogin();
|
| - TabContentsWrapper* wrapper =
|
| - TabContentsWrapper::GetCurrentWrapperForContents(requesting_contents);
|
| - SetDialog(new ConstrainedWindowViews(wrapper, this));
|
| + TabContents* tab_contents =
|
| + TabContents::FromWebContents(requesting_contents);
|
| + SetDialog(new ConstrainedWindowViews(tab_contents, this));
|
| NotifyAuthNeeded();
|
| }
|
|
|
|
|