Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(135)

Unified Diff: chrome/browser/ui/login/login_prompt.cc

Issue 9018016: Revert r115276, it broke PanelDownloadTest.Download in interactive_ui_tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/login/login_prompt.cc
diff --git a/chrome/browser/ui/login/login_prompt.cc b/chrome/browser/ui/login/login_prompt.cc
index 09c76f9e7905b48938dcfcfe1741ce8b360da383..ed351c1d19ef561a3561c0ad4435357b1f06ba29 100644
--- a/chrome/browser/ui/login/login_prompt.cc
+++ b/chrome/browser/ui/login/login_prompt.cc
@@ -282,7 +282,7 @@ void LoginHandler::NotifyAuthNeeded() {
TabContents* requesting_contents = GetTabContentsForLogin();
if (requesting_contents)
- controller = &requesting_contents->GetController();
+ controller = &requesting_contents->controller();
LoginNotificationDetails details(this);
@@ -301,7 +301,7 @@ void LoginHandler::NotifyAuthCancelled() {
TabContents* requesting_contents = GetTabContentsForLogin();
if (requesting_contents)
- controller = &requesting_contents->GetController();
+ controller = &requesting_contents->controller();
LoginNotificationDetails details(this);
@@ -321,7 +321,7 @@ void LoginHandler::NotifyAuthSupplied(const string16& username,
content::NotificationService* service =
content::NotificationService::current();
- NavigationController* controller = &requesting_contents->GetController();
+ NavigationController* controller = &requesting_contents->controller();
AuthSuppliedLoginNotificationDetails details(this, username, password);
service->Notify(
« no previous file with comments | « chrome/browser/ui/intents/web_intent_picker_controller.cc ('k') | chrome/browser/ui/login/login_prompt_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698