Index: chrome/browser/ui/login/login_prompt_ui.cc |
=================================================================== |
--- chrome/browser/ui/login/login_prompt_ui.cc (revision 105366) |
+++ chrome/browser/ui/login/login_prompt_ui.cc (working copy) |
@@ -58,7 +58,7 @@ |
static void RegisterDataSource(Profile *profile) { |
ChromeURLDataManager* url_manager = profile->GetChromeURLDataManager(); |
- LoginHandlerSource *source = new LoginHandlerSource(); |
+ LoginHandlerSource* source = new LoginHandlerSource(); |
url_manager->AddDataSource(source); |
} |
@@ -141,7 +141,7 @@ |
SendAutofillData(); |
} |
- LoginHandlerHtml *login_handler_; |
+ LoginHandlerHtml* login_handler_; |
std::string explanation_; |
bool closed_; |
@@ -180,7 +180,7 @@ |
virtual ~LoginHandlerHtml() {} |
private: |
- LoginHandlerHtmlDelegate *delegate_; |
+ LoginHandlerHtmlDelegate* delegate_; |
void FreeAndRelease() { |
SetDialog(NULL); |
@@ -245,8 +245,10 @@ |
Profile* profile = wrapper->profile(); |
LoginHandlerSource::RegisterDataSource(profile); |
delegate_ = new LoginHandlerHtmlDelegate(this, explanation); |
- ConstrainedWindow* dialog = ConstrainedHtmlUI::CreateConstrainedHtmlDialog( |
- profile, delegate_, wrapper); |
+ ConstrainedHtmlUIDelegate* html_ui_delegate = |
+ ConstrainedHtmlUI::CreateConstrainedHtmlDialog(profile, delegate_, |
+ wrapper); |
+ ConstrainedWindow* dialog = html_ui_delegate->window(); |
SetModel(manager); |
SetDialog(dialog); |