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

Unified Diff: chrome/browser/chromeos/login/login_html_dialog.cc

Issue 10171006: Convert more users away from DOMView. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 8 months 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/chromeos/login/login_html_dialog.cc
===================================================================
--- chrome/browser/chromeos/login/login_html_dialog.cc (revision 133597)
+++ chrome/browser/chromeos/login/login_html_dialog.cc (working copy)
@@ -56,11 +56,9 @@
}
void LoginHtmlDialog::Show() {
- HtmlDialogView* html_view =
- new HtmlDialogView(ProfileManager::GetDefaultProfile(), NULL, this);
- views::Widget::CreateWindowWithParent(html_view, parent_window_);
- html_view->InitDialog();
- html_view->GetWidget()->Show();
+ views::Widget::CreateWindowWithParent(
+ new HtmlDialogView(ProfileManager::GetDefaultProfile(), NULL, this),
+ parent_window_)->Show();
is_open_ = true;
}
« no previous file with comments | « chrome/browser/chromeos/login/html_page_screen.cc ('k') | chrome/browser/chromeos/login/registration_screen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698