| Index: chrome/browser/ui/login/login_prompt.cc
|
| ===================================================================
|
| --- chrome/browser/ui/login/login_prompt.cc (revision 124423)
|
| +++ chrome/browser/ui/login/login_prompt.cc (working copy)
|
| @@ -22,6 +22,7 @@
|
| #include "content/public/browser/notification_registrar.h"
|
| #include "content/public/browser/notification_service.h"
|
| #include "content/public/browser/render_view_host_delegate.h"
|
| +#include "content/public/browser/resource_request_info.h"
|
| #include "content/public/browser/web_contents.h"
|
| #include "grit/generated_resources.h"
|
| #include "net/base/auth.h"
|
| @@ -35,6 +36,7 @@
|
| using content::BrowserThread;
|
| using content::NavigationController;
|
| using content::RenderViewHostDelegate;
|
| +using content::ResourceRequestInfo;
|
| using content::WebContents;
|
| using webkit::forms::PasswordForm;
|
|
|
| @@ -101,8 +103,8 @@
|
| BrowserThread::UI, FROM_HERE,
|
| base::Bind(&LoginHandler::AddObservers, this));
|
|
|
| - if (!ResourceDispatcherHost::RenderViewForRequest(
|
| - request_, &render_process_host_id_, &tab_contents_id_)) {
|
| + if (!ResourceRequestInfo::ForRequest(request_)->GetAssociatedRenderView(
|
| + &render_process_host_id_, &tab_contents_id_)) {
|
| NOTREACHED();
|
| }
|
| }
|
|
|